1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

fix linter issues

This commit is contained in:
Damodar Lohani 2024-03-17 09:39:21 +00:00
parent 21d33eaceb
commit d4bc65260f

View file

@ -1086,7 +1086,7 @@ App::delete('/v1/teams/:teamId/memberships/:membershipId')
if ($team->isEmpty()) {
throw new Exception(Exception::TEAM_NOT_FOUND);
}
if ($membership->getAttribute('teamInternalId') !== $team->getInternalId()) {
throw new Exception(Exception::TEAM_MEMBERSHIP_MISMATCH);
}