File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/Pages/GlobalConfigurations/Authorization Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ export const getUserList = async (
56
56
try {
57
57
const {
58
58
result : { users, totalCount } ,
59
- } = ( await get ( getUrlWithSearchParams ( Routes . USER , queryParams ?? { } ) , { signal } ) ) as ResponseType < {
59
+ } = ( await get ( getUrlWithSearchParams ( `${ Routes . USER } /${ Routes . API_VERSION_V2 } ` , queryParams ?? { } ) , {
60
+ signal,
61
+ } ) ) as ResponseType < {
60
62
users : UserDto [ ]
61
63
totalCount : number
62
64
} >
@@ -103,7 +105,10 @@ export const getPermissionGroupList = async (
103
105
try {
104
106
const {
105
107
result : { roleGroups : permissionGroups , totalCount } ,
106
- } = ( await get ( getUrlWithSearchParams ( Routes . USER_ROLE_GROUP , queryParams ?? { } ) , { signal } ) ) as ResponseType < {
108
+ } = ( await get (
109
+ getUrlWithSearchParams ( `${ Routes . USER_ROLE_GROUP } /${ Routes . API_VERSION_V2 } ` , queryParams ?? { } ) ,
110
+ { signal } ,
111
+ ) ) as ResponseType < {
107
112
roleGroups : PermissionGroupDto [ ]
108
113
totalCount : number
109
114
} >
You can’t perform that action at this time.
0 commit comments