From 9da24ddf3faee51006847d27ef837e3cc9eb3af9 Mon Sep 17 00:00:00 2001 From: Michael Nahkies Date: Sun, 8 Sep 2024 11:05:10 +0100 Subject: [PATCH] fix: format put/delete paths correctly path should be `/scim/v2/Groups/` rather than `/scim/v2Groups/` closes #132 --- src/main/java/sh/libre/scim/core/ScimClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/sh/libre/scim/core/ScimClient.java b/src/main/java/sh/libre/scim/core/ScimClient.java index ca42ac8..d2bfb69 100644 --- a/src/main/java/sh/libre/scim/core/ScimClient.java +++ b/src/main/java/sh/libre/scim/core/ScimClient.java @@ -97,7 +97,7 @@ protected String BearerAuthentication(String token) { } protected String genScimUrl(String scimEndpoint, String resourcePath) { - return "%s%s/%s".formatted(scimApplicationBaseUrl, + return "%s/%s/%s".formatted(scimApplicationBaseUrl, scimEndpoint, resourcePath); }