From 23c52da9f832cd6567f95038f12febaf53cf67d1 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 7 Jul 2022 12:54:44 +1200 Subject: [PATCH] Fix input file switch reference --- src/Appwrite/GraphQL/Builder.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Appwrite/GraphQL/Builder.php b/src/Appwrite/GraphQL/Builder.php index c75b06626f..61bad0ce21 100644 --- a/src/Appwrite/GraphQL/Builder.php +++ b/src/Appwrite/GraphQL/Builder.php @@ -207,8 +207,6 @@ class Builder case 'Utopia\Database\Validator\Key': case 'Utopia\Database\Validator\CustomId': case 'Utopia\Database\Validator\UID': - case 'Utopia\Storage\Validator\File': - case 'Utopia\Validator\File': case 'Utopia\Validator\HexColor': case 'Utopia\Validator\Length': case 'Utopia\Validator\Text': @@ -242,7 +240,7 @@ class Builder case 'Utopia\Validator\JSON': $type = self::json(); break; - case 'Appwrite\Storage\Validator\File': + case 'Utopia\Storage\Validator\File': $type = self::inputFile(); break; default: