updated update endpoint to spatial appwrite validator

This commit is contained in:
ArnabChatterjee20k
2025-09-03 00:40:04 +05:30
parent 044e68499b
commit 0d77a33cf1
2 changed files with 1 additions and 2 deletions
@@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType;
use Appwrite\SDK\ContentType;
use Appwrite\SDK\Method;
use Appwrite\SDK\Response as SDKResponse;
use Appwrite\Utopia\Database\Validator\Spatial;
use Appwrite\Utopia\Response as UtopiaResponse;
use Utopia\Database\Database;
use Utopia\Database\Validator\Key;
use Utopia\Database\Validator\Spatial;
use Utopia\Database\Validator\UID;
use Utopia\Swoole\Response as SwooleResponse;
use Utopia\Validator\Boolean;
@@ -8284,7 +8284,6 @@ trait DatabasesBase
'default' => json_encode([0, 0]),
'required' => false
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals([0, 0], $response['body']['default']);