From 0095ff2d6c9a1727153b9d83ed5da53039314661 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 6 Jan 2022 12:41:58 +0100 Subject: [PATCH] fix: string attribute size response model --- src/Appwrite/Utopia/Response/Model/AttributeString.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Utopia/Response/Model/AttributeString.php b/src/Appwrite/Utopia/Response/Model/AttributeString.php index e7ea853260..bb44c6af6d 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeString.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeString.php @@ -13,7 +13,7 @@ class AttributeString extends Attribute $this ->addRule('size', [ - 'type' => self::TYPE_STRING, + 'type' => self::TYPE_INTEGER, 'description' => 'Attribute size.', 'default' => 0, 'example' => 128, @@ -52,4 +52,4 @@ class AttributeString extends Attribute { return Response::MODEL_ATTRIBUTE_STRING; } -} \ No newline at end of file +}