feat(ui): made corresponding changes in api call made from frontend

This commit is contained in:
=
2024-09-06 23:33:57 +05:30
parent 9d7bfae519
commit eb7c804bb9
3 changed files with 10 additions and 9 deletions
@@ -129,8 +129,7 @@ export const AddOrgMemberModal = ({
organizationId: currentOrg?.id,
inviteeEmails: emails.split(",").map((email) => email.trim()),
organizationRoleSlug,
projectIds,
projectRoleSlug
projects: projectIds.map((id) => ({ id, projectRoleSlug }))
});
setCompleteInviteLinks(data?.completeInviteLinks ?? null);