Regression: fix directory
endpoint not listing teams
#26310
Merged
directory
endpoint not listing teams
#26310