From 35cd17290e495fc2086906ddc95b690a6ba77810 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 8 Feb 2022 02:48:05 +0400 Subject: [PATCH] feat: update descriptions of temas errors --- app/config/errors.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/errors.php b/app/config/errors.php index ea87cff27e..864d033c4e 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -164,7 +164,7 @@ return [ ], Exception::OAUTH_MISSING_USER_ID => [ 'name' => Exception::OAUTH_MISSING_USER_ID, - 'description' => 'Failed to obtain user id from the OAuth provider.', + 'description' => 'Failed to obtain user ID from the OAuth provider.', 'code' => 400, ], @@ -176,13 +176,13 @@ return [ ], Exception::TEAM_INVITE_ALREADY_EXISTS => [ 'name' => Exception::TEAM_INVITE_ALREADY_EXISTS, - 'description' => 'The current user already has an invitation to this team.', + 'description' => 'The current user has already received an invitation to join the team.', 'code' => 409, ], Exception::TEAM_INVITE_NOT_FOUND => [ 'name' => Exception::TEAM_INVITE_NOT_FOUND, - 'description' => 'The requested invitation could not be found.', - 'code' => 409, + 'description' => 'The requested team invitation could not be found.', + 'code' => 404, ], Exception::TEAM_INVALID_SECRET => [ 'name' => Exception::TEAM_INVALID_SECRET,