From 161a2966cd1cedc8f7df4dd0509569f4e5ed18ce Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 21 Nov 2024 15:02:06 -0300 Subject: [PATCH] bump API version for user add tenant roles --- descope/api/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/descope/api/client.go b/descope/api/client.go index d04876ea..4de62e6d 100644 --- a/descope/api/client.go +++ b/descope/api/client.go @@ -794,7 +794,7 @@ func (e *endpoints) ManagementUserSetRole() string { } func (e *endpoints) ManagementUserAddRole() string { - return path.Join(e.version, e.mgmt.userAddRole) + return path.Join(e.versionV2, e.mgmt.userAddRole) } func (e *endpoints) ManagementUserRemoveRole() string {