1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

delete constant

This commit is contained in:
Damodar Lohani 2021-11-07 11:39:28 +05:45
parent 7f548ba150
commit 411db5c3f0
2 changed files with 2 additions and 1 deletions

View file

@ -108,6 +108,7 @@ const DELETE_TYPE_ABUSE = 'abuse';
const DELETE_TYPE_CERTIFICATES = 'certificates';
const DELETE_TYPE_USAGE = 'usage';
const DELETE_TYPE_REALTIME = 'realtime';
const DELETE_TYPE_BUCKETS = 'buckets';
// Mail Types
const MAIL_TYPE_VERIFICATION = 'verification';
const MAIL_TYPE_MAGIC_SESSION = 'magicSession';

View file

@ -53,7 +53,7 @@ class DeletesV1 extends Worker
case DELETE_TYPE_TEAMS:
$this->deleteMemberships($document, $projectId);
break;
case 'buckets':
case DELETE_TYPE_BUCKETS:
$this->deleteBucket($document, $projectId);
break;
default: