From d1858582663ab77f33f9122013427d5e075dc7e0 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Tue, 20 Feb 2024 15:49:43 +0100 Subject: [PATCH] (minor) Add missing query parameter to ServiceEndpoint.toURL --- .../marginalia/service/discovery/property/ServiceEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java b/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java index 01caba90..e8ce621e 100644 --- a/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java +++ b/code/common/service-discovery/src/main/java/nu/marginalia/service/discovery/property/ServiceEndpoint.java @@ -40,7 +40,7 @@ public sealed interface ServiceEndpoint { @SneakyThrows public URL toURL(String endpoint, String query) { - return new URI("http", null, host, port, endpoint, null, null) + return new URI("http", null, host, port, endpoint, query, null) .toURL(); }