mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Don't enable -> reset
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user