fixed team creation response if teamId already exists

This commit is contained in:
jaivix
2023-07-09 16:50:09 +05:30
parent 9f2bf844c7
commit a6671a5caa
4 changed files with 34 additions and 12 deletions
+1
View File
@@ -83,6 +83,7 @@ class Exception extends \Exception
public const TEAM_INVALID_SECRET = 'team_invalid_secret';
public const TEAM_MEMBERSHIP_MISMATCH = 'team_membership_mismatch';
public const TEAM_INVITE_MISMATCH = 'team_invite_mismatch';
public const TEAM_ID_CONFLICT = 'team_id_conflict';
/** Membership */
public const MEMBERSHIP_NOT_FOUND = 'membership_not_found';