From c12f31053ea27f6b72ffb7f75e589a797c512ff8 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 8 Jul 2020 17:02:14 +0300 Subject: [PATCH] Fixed file upload bug --- src/Appwrite/Swoole/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Swoole/Request.php b/src/Appwrite/Swoole/Request.php index db9b5ef82a..2be35ad71c 100644 --- a/src/Appwrite/Swoole/Request.php +++ b/src/Appwrite/Swoole/Request.php @@ -310,7 +310,7 @@ class Request extends UtopiaRequest break; default: - $this->payload = $this->swoole->rawContent(); + $this->payload = $this->swoole->post; break; }