From 1392d97da39b0c856a8e0de3ddd527d78ee7f215 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Tue, 25 Jul 2023 10:47:53 +0100 Subject: [PATCH] Update app/controllers/api/teams.php Co-authored-by: Christy Jacob --- app/controllers/api/teams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 3f22fe2a42..74c57cc501 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -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);