Update WC_Retailcrm_Response
This commit is contained in:
parent
e67e1e6690
commit
60f5c77685
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user