mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Merge branch '1.8.x' into fix-scopes
This commit is contained in:
commit
24e4207ba6
1 changed files with 1 additions and 2 deletions
|
|
@ -67,8 +67,7 @@ class Get extends Action
|
|||
Database $dbForPlatform
|
||||
) {
|
||||
if ($type === 'rules') {
|
||||
$validator = new Domain($value);
|
||||
|
||||
$validator = new Domain();
|
||||
if (!$validator->isValid($value)) {
|
||||
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, $validator->getDescription());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue