mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update app/controllers/api/teams.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
co-authored by
Christy Jacob
parent
50bae853e6
commit
1392d97da3
@@ -406,7 +406,7 @@ App::post('/v1/teams/:teamId/memberships')
|
||||
}
|
||||
|
||||
if (!$isPrivilegedUser && !$isAppUser && empty($url)) {
|
||||
throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN, 'URL is required for non-privileged users');
|
||||
throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN, 'Param 'url' is required for non-privileged users');
|
||||
}
|
||||
|
||||
$email = \strtolower($email);
|
||||
|
||||
Reference in New Issue
Block a user