Merge pull request #3184 from appwrite/fix-team-user
Fix: Team User Creation
This commit is contained in:
commit
9c88906c7e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue