From 10ee58e113a2f3912d598da46ecdc1f1706728a2 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Thu, 18 Dec 2025 22:36:09 +0100 Subject: [PATCH] hotfix pretix --- .../src/main/java/de/bstly/we/businesslogic/PretixManager.java | 3 +++ pom.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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