Update app/controllers/api/teams.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Bradley Schofield
2023-07-25 10:47:53 +01:00
committed by GitHub
co-authored by Christy Jacob
parent 50bae853e6
commit 1392d97da3
+1 -1
View File
@@ -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);