fix linter issues
This commit is contained in:
parent
21d33eaceb
commit
d4bc65260f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue