mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #3184 from appwrite/fix-team-user
Fix: Team User Creation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user