From 02fad65d9e485b813fd6366b7a0191682b6b2531 Mon Sep 17 00:00:00 2001 From: Akshata Katwal Date: Tue, 12 Nov 2024 15:38:31 +0530 Subject: [PATCH] Issue feat:change payload of create user --- src/components/CommonUserModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CommonUserModal.tsx b/src/components/CommonUserModal.tsx index c9f31875..d8981f2c 100644 --- a/src/components/CommonUserModal.tsx +++ b/src/components/CommonUserModal.tsx @@ -290,7 +290,7 @@ const CommonUserModal: React.FC = ({ : userType === FormContextType.TEACHER ? RoleId.TEACHER : RoleId.TEAM_LEADER, - cohortId: + cohortIds: userType === FormContextType.TEAM_LEADER ? [selectedBlockCohortId] : [selectedCenterCode],