Update app/config/errors.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani
2024-02-11 14:41:32 +05:45
committed by GitHub
parent 622bdb7b2b
commit eba03cb126
+1 -1
View File
@@ -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