From eba03cb126550f2ac3b5659fcd7be814a258ee23 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 11 Feb 2024 14:41:32 +0545 Subject: [PATCH] Update app/config/errors.php Co-authored-by: Christy Jacob --- app/config/errors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/errors.php b/app/config/errors.php index f1660badf4..e6e5e7a23a 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -251,7 +251,7 @@ return [ 'description' => 'User phone is already verified', 'code' => 409 ], - Exception::USER_DELETION_WITH_ACTIVE_TEAMS => [ + Exception::USER_DELETION_PROHIBITED => [ 'name' => Exception::USER_DELETION_WITH_ACTIVE_TEAMS, 'description' => 'User deletion is not allowed for users with active memberships. Please delete all confirmed memberships before deleting the account.', 'code' => 400