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));
|
||||
|
||||
@@ -264,8 +264,6 @@ public class MembershipManager {
|
||||
years += membershipfeeOrderPositionMap.get(membershipId).size();
|
||||
}
|
||||
|
||||
logger.debug("membershipId: " + membershipId + " | years: " + years);
|
||||
|
||||
Instant active = InstantHelper.truncate(InstantHelper.plus(membershipStart, years, ChronoUnit.YEARS),
|
||||
ChronoUnit.YEARS);
|
||||
|
||||
@@ -733,7 +731,6 @@ public class MembershipManager {
|
||||
JsonElement response = pretixManager.request(path, HttpMethod.GET, queryParams);
|
||||
|
||||
if (response == null) {
|
||||
logger.debug("results: " + result.size() + " ? " + queryParams.getFirst("item"));
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -751,7 +748,6 @@ public class MembershipManager {
|
||||
return fetchAllOrderPositions(path, queryParams, result, page);
|
||||
}
|
||||
|
||||
logger.debug("results: " + result.size() + " ? " + queryParams.getFirst("item"));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user