Refactor PrestashopClient and PrestashopProxyController to improve query handling and simplify request processing

This commit is contained in:
Vincent Guillet
2025-11-29 09:47:02 +01:00
parent 9ae60a087a
commit 8a750b94d0

View File

@@ -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;