From 3944791ae73b51b3921e62bbe151bb75e1132d11 Mon Sep 17 00:00:00 2001 From: gora-clientbase <55147465+gora-clientbase@users.noreply.github.com> Date: Thu, 15 Jan 2026 10:54:26 +0300 Subject: [PATCH] Update ClientbaseAPI.php --- src/ClientbaseAPI.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ClientbaseAPI.php b/src/ClientbaseAPI.php index ac93840..887765f 100644 --- a/src/ClientbaseAPI.php +++ b/src/ClientbaseAPI.php @@ -179,7 +179,7 @@ class ClientbaseAPI $body = $this->bodyFromData($data); $body->data->type = "data" . $tableId; - $rawResult = $this->query("/data" . $tableId . "/" . $lineId, "POST", "", $body); + $rawResult = $this->query("/data" . $tableId, "POST", [], $body); $result = $this->_rawToResult($rawResult); return $result; @@ -206,7 +206,7 @@ class ClientbaseAPI $body = $this->bodyFromData($data); $body->data->type = "data" . $tableId; $body->data->id = $lineId; - $rawResult = $this->query("/data" . $tableId . "/" . $lineId, "PATCH", "", $body); + $rawResult = $this->query("/data" . $tableId . "/" . $lineId, "PATCH", [], $body); $result = $this->_rawToResult($rawResult); return $result; @@ -435,4 +435,4 @@ class ClientbaseAPI } } -} \ No newline at end of file +}