diff --git a/src/libs/API/parameters/InviteToRoomParams.ts b/src/libs/API/parameters/InviteToRoomParams.ts index b1af3a4fc3df..975673440f4c 100644 --- a/src/libs/API/parameters/InviteToRoomParams.ts +++ b/src/libs/API/parameters/InviteToRoomParams.ts @@ -1,6 +1,7 @@ type InviteToRoomParams = { reportID: string; inviteeEmails: string[]; + accountIDList: string; }; export default InviteToRoomParams; diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index 2a6ef8da9214..5f1baa25b3cf 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -2887,6 +2887,7 @@ function inviteToRoom(reportID: string, inviteeEmailsToAccountIDs: InvitedEmails const parameters: InviteToRoomParams = { reportID, inviteeEmails, + accountIDList: newAccountIDs.join(), }; // eslint-disable-next-line rulesdir/no-multiple-api-calls