Refactor PrestashopClient and PrestashopProxyController to improve query handling and simplify request processing
This commit is contained in:
@@ -17,8 +17,8 @@ public class PrestashopClient {
|
|||||||
new org.springframework.web.client.RestTemplate();
|
new org.springframework.web.client.RestTemplate();
|
||||||
|
|
||||||
public PrestashopClient(
|
public PrestashopClient(
|
||||||
@Value("${prestashop.api.base-url}") String baseUrl,
|
@Value("${prestashop.base-url}") String baseUrl,
|
||||||
@Value("${prestashop.api.key}") String apiKey
|
@Value("${prestashop.api-key}") String apiKey
|
||||||
) {
|
) {
|
||||||
this.baseUrl = baseUrl;
|
this.baseUrl = baseUrl;
|
||||||
this.apiKey = apiKey;
|
this.apiKey = apiKey;
|
||||||
|
|||||||
Reference in New Issue
Block a user