1
0
mirror of synced 2024-11-21 21:06:07 +03:00

fix for delivery tracking

This commit is contained in:
Alex Lushpai 2016-10-30 22:16:11 +03:00
parent 5c4413a97c
commit afd681201a

View File

@ -831,7 +831,7 @@ class ApiClient
return $this->client->makeRequest( return $this->client->makeRequest(
sprintf('/store/setting/%s/edit', $configuration['code']), sprintf('/store/setting/%s/edit', $configuration['code']),
Client::METHOD_POST, Client::METHOD_POST,
$configuration array('configuration' => json_encode($configuration))
); );
} }
@ -999,7 +999,7 @@ class ApiClient
return $this->client->makeRequest( return $this->client->makeRequest(
sprintf('/delivery/generic/%s/tracking', $code), sprintf('/delivery/generic/%s/tracking', $code),
Client::METHOD_POST, Client::METHOD_POST,
$statusUpdate array('statusUpdate' => json_encode($statusUpdate))
); );
} }