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: