diff --git a/app/workers/webhooks.php b/app/workers/webhooks.php index f07818724f..8891c932f6 100644 --- a/app/workers/webhooks.php +++ b/app/workers/webhooks.php @@ -35,7 +35,7 @@ class WebhooksV1 $project = $consoleDB->getDocument($projectId); - Authorization::enable(); + Authorization::reset(); if (\is_null($project->getId()) || Database::SYSTEM_COLLECTION_PROJECTS !== $project->getCollection()) { throw new Exception('Project Not Found');