mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
typo fix
This commit is contained in:
parent
dd15023a2b
commit
5a6955debd
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Appwrite\Utopia\Database\Validator;
|
||||
|
||||
use Utopia\Database\Validator\Spatial as SpatialVaildator;
|
||||
use Utopia\Database\Validator\Spatial as SpatialValidator;
|
||||
use Utopia\Validator\JSON;
|
||||
|
||||
class Spatial extends JSON
|
||||
|
|
@ -36,7 +36,7 @@ class Spatial extends JSON
|
|||
return false;
|
||||
}
|
||||
$value = \json_decode($value, true);
|
||||
$validator = new SpatialVaildator($this->spatialAttributeType);
|
||||
$validator = new SpatialValidator($this->spatialAttributeType);
|
||||
return $validator->isValid($value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue