mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix delete worker
This commit is contained in:
@@ -459,8 +459,8 @@ class DeletesV1 extends Worker
|
||||
protected function deleteBucket(Document $document, string $projectId)
|
||||
{
|
||||
$bucketId = $document->getId();
|
||||
$dbForExternal = $this->getExternalDB($projectId);
|
||||
$dbForExternal->deleteCollection('bucket_' . $bucketId);
|
||||
$dbForProject = $this->getProjectDB($projectId);
|
||||
$dbForProject->deleteCollection('bucket_' . $bucketId);
|
||||
|
||||
$device = new Local(APP_STORAGE_UPLOADS.'/app-'.$projectId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user