diff --git a/core/src/main/java/de/bstly/we/businesslogic/PretixManager.java b/core/src/main/java/de/bstly/we/businesslogic/PretixManager.java index 272f34e..43dc64b 100755 --- a/core/src/main/java/de/bstly/we/businesslogic/PretixManager.java +++ b/core/src/main/java/de/bstly/we/businesslogic/PretixManager.java @@ -490,6 +490,9 @@ public class PretixManager implements SmartInitializingSingleton { * @return the json element */ public JsonElement request(String path, HttpMethod method, MultiValueMap queryParameters) { + if (path.startsWith(host)) { + path = path.replace(host, ""); + } return request(path, method, null, queryParameters); } diff --git a/pom.xml b/pom.xml index 4cc0b91..34b4431 100755 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ 2.2 1.14.1 3.6.3 - 4.0.1 + 4.0.2