Refactor: Add missing Query import in Compute module and fix code formatting in V20 filter

This commit is contained in:
shimon 2025-11-29 20:43:59 +02:00
parent c5a45aaded
commit b061f95f6d
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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
));