From 328358654a8691fec9e36c66dfc5306ffebebddc Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Mon, 16 Aug 2021 16:08:18 -0400 Subject: [PATCH] Instantiate boolean attribute response model --- src/Appwrite/Utopia/Response.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 3a890f9a5c..53d574f47b 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -14,6 +14,7 @@ use Appwrite\Utopia\Response\Model\Attribute; use Appwrite\Utopia\Response\Model\AttributeString; use Appwrite\Utopia\Response\Model\AttributeInteger; use Appwrite\Utopia\Response\Model\AttributeFloat; +use Appwrite\Utopia\Response\Model\AttributeBoolean; use Appwrite\Utopia\Response\Model\AttributeEmail; use Appwrite\Utopia\Response\Model\AttributeIP; use Appwrite\Utopia\Response\Model\AttributeURL; @@ -197,6 +198,7 @@ class Response extends SwooleResponse ->setModel(new AttributeString()) ->setModel(new AttributeInteger()) ->setModel(new AttributeFloat()) + ->setModel(new AttributeBoolean()) ->setModel(new AttributeEmail()) ->setModel(new AttributeIP()) ->setModel(new AttributeURL())