Skip to content

Commit 5730e14

Browse files
authored
Merge pull request #103 from Tusharmahajan12/new_march10
Issue #0000 Update in role for update youth
2 parents 0c678cd + b09423c commit 5730e14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/common/middleware/apiConfig.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,9 @@ export const apiList = {
352352
'/user/v1/update/:userId': createRouteObject({
353353
patch: {
354354
PRIVILEGE_CHECK: privilegeGroup.users.update,
355-
ROLE_CHECK: rolesGroup.admin_center_admin.concat(rolesGroup.youth),
355+
ROLE_CHECK: rolesGroup.admin_center_admin_trainer.concat(
356+
rolesGroup.youth,
357+
),
356358
},
357359
}),
358360
'/user/v1/delete/:userId': createRouteObject({

0 commit comments

Comments
 (0)