From 600f36cc812d08ff8fb76d3db639bfb36c42a480 Mon Sep 17 00:00:00 2001 From: MrFiregore Date: Mon, 16 May 2022 07:28:03 +0200 Subject: [PATCH] Fixed json request --- src/HiveClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HiveClient.php b/src/HiveClient.php index c71c329..f133b31 100644 --- a/src/HiveClient.php +++ b/src/HiveClient.php @@ -288,7 +288,7 @@ public function getParamsOptionName($method) case 'PATCH': - $option = 'form_params'; + $option = 'json'; break; }