From 020bb160b9fe2cccac29874ca29d9a3566ad8691 Mon Sep 17 00:00:00 2001 From: Dineshkumar Date: Sat, 9 Jul 2022 20:12:48 +0530 Subject: [PATCH] changed payload encodings --- src/Appwrite/Auth/Phone/Msg91.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Auth/Phone/Msg91.php b/src/Appwrite/Auth/Phone/Msg91.php index 8ae7c44665..64e5973597 100644 --- a/src/Appwrite/Auth/Phone/Msg91.php +++ b/src/Appwrite/Auth/Phone/Msg91.php @@ -31,7 +31,7 @@ class Msg91 extends Phone $this->request( method: 'POST', url: $this->endpoint, - payload: \http_build_query([ + payload: json_encode([ 'sender' => $this->user, 'otp' => $message, 'flow_id' => $from,