mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: all of the workers
This commit is contained in:
1 parent
52a857274d
commit
3aa49f773a
11 files changed
+78
-80
No files matched your search
@@ -20,8 +20,6 @@ class DatabaseV1 extends Worker
|
||||
|
||||
public function run(): void
|
||||
{
|
||||
Authorization::disable();
|
||||
|
||||
$type = $this->args['type'];
|
||||
$project = new Document($this->args['project']);
|
||||
$collection = new Document($this->args['collection'] ?? []);
|
||||
@@ -53,8 +51,6 @@ class DatabaseV1 extends Worker
|
||||
Console::error('No database operation for type: ' . $type);
|
||||
break;
|
||||
}
|
||||
|
||||
Authorization::reset();
|
||||
}
|
||||
|
||||
public function shutdown(): void
|
||||
|
||||
Reference in new issue
Block a user