1
0
Fork 0
mirror of synced 2024-07-06 15:11:21 +12:00

Fix membership query to use internalId

This commit is contained in:
Damodar Lohani 2024-03-17 14:51:27 +05:45 committed by GitHub
parent f2cdd9cc1d
commit 24319b8417
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -694,7 +694,7 @@ App::get('/v1/teams/:teamId/memberships')
}
// Set internal queries
$queries[] = Query::equal('teamId', [$teamId]);
$queries[] = Query::equal('teamInternalId', [$team->getInternalId()]);
// Get cursor document if there was a cursor query
$cursor = \array_filter($queries, function ($query) {