diff --git a/app/init.php b/app/init.php index db56d6fe9..3307d8a9a 100644 --- a/app/init.php +++ b/app/init.php @@ -55,7 +55,7 @@ const APP_SOCIAL_DEV = 'https://dev.to/appwrite'; const APP_SOCIAL_STACKSHARE = 'https://stackshare.io/appwrite'; // Deletion Types const DELETE_TYPE_DOCUMENT = 'document'; -const DELETE_TYPE_EXECUTION_LOGS = 'execution_logs'; +const DELETE_TYPE_EXECUTION = 'execution'; const DELETE_TYPE_AUDIT = 'audit'; const DELETE_TYPE_ABUSE = 'abuse'; diff --git a/app/workers/deletes.php b/app/workers/deletes.php index 991bca58f..2e6d21652 100644 --- a/app/workers/deletes.php +++ b/app/workers/deletes.php @@ -58,7 +58,7 @@ class DeletesV1 } break; - case DELETE_TYPE_EXECUTION_LOGS: + case DELETE_TYPE_EXECUTION: $this->deleteExecutionLogs(); break;