finally remove debug loggin
This commit is contained in:
@@ -516,14 +516,8 @@ public class PretixManager implements SmartInitializingSingleton {
|
||||
*/
|
||||
public JsonElement request(String path, HttpMethod method, JsonElement payload,
|
||||
MultiValueMap<String, String> queryParameters) {
|
||||
|
||||
String cleanedPath = path.replace(host, "");
|
||||
|
||||
logger.debug("method:" + method.toString() + ", path: " + path + ", cleaned path: " + cleanedPath + ", host: "
|
||||
+ host);
|
||||
|
||||
WebClient.RequestBodySpec request = webClient.method(method)
|
||||
.uri(uriBuilder -> uriBuilder.path(cleanedPath).queryParams(queryParameters).build());
|
||||
.uri(uriBuilder -> uriBuilder.path(path).queryParams(queryParameters).build());
|
||||
|
||||
if (payload != null) {
|
||||
request.bodyValue(gson.toJson(payload));
|
||||
|
||||
Reference in New Issue
Block a user