1
0
mirror of synced 2024-11-21 21:06: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(
"/store/settings/$code",
"/store/setting/$code",
Client::METHOD_GET
);
}
@ -802,7 +802,7 @@ class ApiClient
}
return $this->client->makeRequest(
sprintf('/store/settings/%s/edit', $configuration['code']),
sprintf('/store/setting/%s/edit', $configuration['code']),
Client::METHOD_POST,
$configuration
);
@ -912,9 +912,9 @@ class ApiClient
}
return $this->client->makeRequest(
sprintf('/delivery/generic/settings/%s/edit', $configuration['code']),
sprintf('/delivery/generic/setting/%s/edit', $configuration['code']),
Client::METHOD_POST,
$configuration
array('configuration' => json_encode($configuration))
);
}