update: fix exception.

This commit is contained in:
Darshan 2025-05-08 20:00:01 +05:30
parent c5074fd52f
commit 2d74765ba0
2 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ jobs:
Account,
Avatars,
Console,
Databases,
Databases/Collections,
Functions,
FunctionsSchedule,
GraphQL,
@ -213,7 +213,7 @@ jobs:
Account,
Avatars,
Console,
Databases,
Databases/Collections,
Functions,
FunctionsSchedule,
GraphQL,

View file

@ -494,7 +494,7 @@ abstract class Action extends UtopiaAction
}
if (!is_null($default) && !$validator->isValid($default)) {
throw new Exception($this->getTypeInvalidException(), $validator->getDescription());
throw new Exception($this->getInvalidValueException(), $validator->getDescription());
}
$options = [