From b1d2cbbcbfbf5aa8dae0597bc7306d2e2007d0ed Mon Sep 17 00:00:00 2001 From: conrad96 Date: Mon, 31 Mar 2025 16:34:43 +0300 Subject: [PATCH] decode json string from cache to request body --- docker/statistics/sync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/statistics/sync.php b/docker/statistics/sync.php index c789f1a7..a37512af 100644 --- a/docker/statistics/sync.php +++ b/docker/statistics/sync.php @@ -285,7 +285,7 @@ class sync{ if(empty($data)) throw new Exception("Payload is empty."); $options = [ - 'json' => $data, + 'json' => json_decode($data), 'allow_redirects' => false, 'timeout' => 5, 'headers' => [