From d4bc65260f4f25aac5cd5d32e22bb350b04fb3ad Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 17 Mar 2024 09:39:21 +0000 Subject: [PATCH] fix linter issues --- app/controllers/api/teams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 4ece69312c..d870f49af5 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -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); }