From 87ecd4439536f9b04f064c9fb687efea3146069d Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 2 Jul 2020 17:32:34 +0300 Subject: [PATCH] Fixed input generation --- src/Appwrite/Utopia/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Request.php b/src/Appwrite/Utopia/Request.php index b6a3b673f1..26eecac0fa 100644 --- a/src/Appwrite/Utopia/Request.php +++ b/src/Appwrite/Utopia/Request.php @@ -205,7 +205,7 @@ class Request extends UtopiaRequest switch ($contentType) { case 'application/json': - $this->payload = json_decode($this->swoole->rawContent()); + $this->payload = json_decode($this->swoole->rawContent(), true); break; default: