(minor) Add missing query parameter to ServiceEndpoint.toURL

This commit is contained in:
Viktor Lofgren 2024-02-20 15:49:43 +01:00
parent 453bd6064b
commit d185858266

View File

@ -40,7 +40,7 @@ public sealed interface ServiceEndpoint {
@SneakyThrows @SneakyThrows
public URL toURL(String endpoint, String query) { 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(); .toURL();
} }