fix setting path for delivery
This commit is contained in:
commit
e4870f1e29
@ -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))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user