From 275cd6bc1347f83b246daae68f940295297fbb38 Mon Sep 17 00:00:00 2001 From: souravbhowmik1999 Date: Tue, 10 Dec 2024 19:00:18 +0530 Subject: [PATCH] add --- src/common/middleware/apiConfig.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/common/middleware/apiConfig.ts b/src/common/middleware/apiConfig.ts index 6a19648..7b92076 100644 --- a/src/common/middleware/apiConfig.ts +++ b/src/common/middleware/apiConfig.ts @@ -383,6 +383,21 @@ export const apiList = { ROLE_CHECK: rolesGroup.admin_team_leader, }, }), + '/user/v1/tenant/create': createRouteObject({ + post: { + ROLE_CHECK: rolesGroup.admin_mme, + }, + }), + '/user/v1/tenant/update/:identifier': createRouteObject({ + post: { + ROLE_CHECK: rolesGroup.admin_mme, + }, + }), + '/user/v1/tenant/delete/:identifier': createRouteObject({ + post: { + ROLE_CHECK: rolesGroup.admin_mme, + }, + }), '/user/v1/academicyears/create': createRouteObject({ post: {}, }),