Fix membership query to use internalId
This commit is contained in:
parent
f2cdd9cc1d
commit
24319b8417
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue