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

fix setting path for delivery

This commit is contained in:
Alex Lushpai 2016-08-02 18:25:35 +00:00
commit e4870f1e29

View File

@ -777,7 +777,7 @@ class ApiClient
} }
return $this->client->makeRequest( return $this->client->makeRequest(
"/store/settings/$code", "/store/setting/$code",
Client::METHOD_GET Client::METHOD_GET
); );
} }
@ -802,7 +802,7 @@ class ApiClient
} }
return $this->client->makeRequest( return $this->client->makeRequest(
sprintf('/store/settings/%s/edit', $configuration['code']), sprintf('/store/setting/%s/edit', $configuration['code']),
Client::METHOD_POST, Client::METHOD_POST,
$configuration $configuration
); );
@ -912,9 +912,9 @@ class ApiClient
} }
return $this->client->makeRequest( return $this->client->makeRequest(
sprintf('/delivery/generic/settings/%s/edit', $configuration['code']), sprintf('/delivery/generic/setting/%s/edit', $configuration['code']),
Client::METHOD_POST, Client::METHOD_POST,
$configuration array('configuration' => json_encode($configuration))
); );
} }