Skip to content

Commit

Permalink
fix remove tenant roles (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafshen authored Apr 20, 2024
1 parent 720ad60 commit 34882ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/management-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<dependency>
<groupId>com.descope</groupId>
<artifactId>java-sdk</artifactId>
<version>1.0.19</version>
<version>1.0.20</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
Expand Down Expand Up @@ -85,4 +85,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.descope</groupId>
<artifactId>java-sdk</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>1.0.19</version>
<version>1.0.20</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Java library used to integrate with Descope.</description>
<url>https://github.com/descope/descope-java</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ public UserResponseDetails removeTenantRoles(String loginId, String tenantId, Li
throw ServerCommonException.invalidArgument("Login ID");
}
URI removeTenantRolesUri = composeRemoveTenantRolesUri();
Map<String, Object> request = mapOf("loginId", loginId, "tenantId", "", "roleNames", roles);
Map<String, Object> request = mapOf("loginId", loginId, "tenantId", tenantId, "roleNames", roles);
ApiProxy apiProxy = getApiProxy();
return apiProxy.post(removeTenantRolesUri, request, UserResponseDetails.class);
}
Expand Down

0 comments on commit 34882ab

Please sign in to comment.