mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Refactor: Add missing Query import in Compute module and fix code formatting in V20 filter
This commit is contained in:
parent
c5a45aaded
commit
b061f95f6d
2 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ use Utopia\Database\Exception\Duplicate;
|
|||
use Utopia\Database\Helpers\ID;
|
||||
use Utopia\Database\Helpers\Permission;
|
||||
use Utopia\Database\Helpers\Role;
|
||||
use Utopia\Database\Query;
|
||||
use Utopia\Database\Validator\Authorization;
|
||||
use Utopia\Swoole\Request;
|
||||
use Utopia\System\System;
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ class V20 extends Filter
|
|||
}
|
||||
|
||||
try {
|
||||
$collection = $database = $dbForProject->getAuthorization()->skip(fn () =>$dbForProject->getDocument(
|
||||
$collection = $database = $dbForProject->getAuthorization()->skip(fn () => $dbForProject->getDocument(
|
||||
'database_' . $database->getSequence(),
|
||||
$collectionId
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue