Skip to content

Commit

Permalink
Merge pull request #21 from chaitanyakole/demo_issue
Browse files Browse the repository at this point in the history
Passed tenantId as a empty string
  • Loading branch information
gouravmore authored Jan 15, 2025
2 parents d21cb5c + a99308d commit 799ab5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ReassignCenterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const ReassignCenterModal: React.FC<ReassignCohortModalProps> = ({
customFields: customFields,
};
if (userId) {
await updateUser(userId, updateObject);
await updateUser(userId, updateObject, "");
}
handleClose();

Expand Down Expand Up @@ -394,7 +394,7 @@ const ReassignCenterModal: React.FC<ReassignCohortModalProps> = ({
customFields: customFields,
};
if (userId) {
await updateUser(userId, updateObject);
await updateUser(userId, updateObject, "");
}

showToastMessage(t("COMMON.BLOCKS_REASSIGN_SUCCESSFULLY"), "success");
Expand Down Expand Up @@ -537,7 +537,7 @@ const ReassignCenterModal: React.FC<ReassignCohortModalProps> = ({
customFields: customFields,
};
if (selectedTLUserID) {
await updateUser(selectedTLUserID, updateObject);
await updateUser(selectedTLUserID, updateObject, "");
}

showToastMessage(t("COMMON.BLOCKS_REASSIGN_SUCCESSFULLY"), "success");
Expand Down

0 comments on commit 799ab5f

Please sign in to comment.