mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Ensure parsed queries
This commit is contained in:
@@ -165,7 +165,7 @@ class Update extends Action
|
||||
$dbForProject->updateDocuments(
|
||||
$collectionId,
|
||||
$data['data'] ?? null,
|
||||
$data['queries'] ?? []
|
||||
Query::parseQueries($data['queries'] ?? [])
|
||||
);
|
||||
break;
|
||||
|
||||
@@ -179,8 +179,8 @@ class Update extends Action
|
||||
|
||||
case 'bulkDelete':
|
||||
$dbForProject->deleteDocuments(
|
||||
$collectionName,
|
||||
$data['queries'] ?? []
|
||||
$collectionId,
|
||||
Query::parseQueries($data['queries'] ?? [])
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user