diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 6e2eabeac6..2ca54b7f71 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -323,6 +323,7 @@ App::post('/v1/teams/:teamId/memberships') 'tokens' => [], 'memberships' => null, 'search' => implode(' ', [$userId, $email, $name]), + 'deleted' => false ]))); } catch (Duplicate $th) { throw new Exception('Account already exists', 409, Exception::USER_ALREADY_EXISTS);