From 681f12619c623052bce93164892031cf614255e5 Mon Sep 17 00:00:00 2001 From: Asaf Shen Date: Thu, 25 Apr 2024 16:55:51 +0300 Subject: [PATCH] fix remove tenant roles (#112) --- examples/management-cli/pom.xml | 2 +- pom.xml | 2 +- src/main/java/com/descope/sdk/mgmt/impl/UserServiceImpl.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/management-cli/pom.xml b/examples/management-cli/pom.xml index 0f5d9880..71bb7ccd 100644 --- a/examples/management-cli/pom.xml +++ b/examples/management-cli/pom.xml @@ -19,7 +19,7 @@ com.descope java-sdk - 1.0.20 + 1.0.21 info.picocli diff --git a/pom.xml b/pom.xml index 9986248d..85096e45 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.descope java-sdk 4.0.0 - 1.0.20 + 1.0.21 ${project.groupId}:${project.artifactId} Java library used to integrate with Descope. https://github.com/descope/descope-java diff --git a/src/main/java/com/descope/sdk/mgmt/impl/UserServiceImpl.java b/src/main/java/com/descope/sdk/mgmt/impl/UserServiceImpl.java index ef2d9b09..77f1a562 100644 --- a/src/main/java/com/descope/sdk/mgmt/impl/UserServiceImpl.java +++ b/src/main/java/com/descope/sdk/mgmt/impl/UserServiceImpl.java @@ -688,7 +688,7 @@ private URI composeAddTenantRolesUri() { } private URI composeRemoveTenantRolesUri() { - return getUri(USER_REMOVE_TENANT_LINK); + return getUri(USER_REMOVE_ROLES_LINK); } private URI composeGetProviderTokenUri(Map params) {