From 2d74765ba0fd68026c73e38ac1505bd728480a15 Mon Sep 17 00:00:00 2001 From: Darshan Date: Thu, 8 May 2025 20:00:01 +0530 Subject: [PATCH] update: fix exception. --- .github/workflows/tests.yml | 4 ++-- .../Http/Databases/Collections/Attributes/Action.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a7fc1cf0c6..4775272185 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php index fcb9bcc2df..be6e3d1ff7 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Action.php @@ -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 = [