1
0
mirror of synced 2025-01-29 22:31:42 +03:00

Update WC_Retailcrm_Response

This commit is contained in:
dima-uryvskiy 2020-12-02 20:51:46 +03:00
parent e67e1e6690
commit 60f5c77685

View File

@ -128,7 +128,7 @@ class WC_Retailcrm_Paginated_Request
);
if ($response instanceof WC_Retailcrm_Response && $response->offsetExists($this->dataKey)) {
$this->data = array_merge($response[$this->dataKey]);
$this->data = array_merge($this->data, $response[$this->dataKey]);
$page = $response['pagination']['currentPage'] + 1;
}