Merge pull request #3184 from appwrite/fix-team-user

Fix: Team User Creation
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2022-05-08 16:47:01 +02:00
commit 9c88906c7e
1 file changed
+1
+1
View File
@@ -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);