From 57df9727e0f9f41ee734efe44c72a8d2acdc73ce Mon Sep 17 00:00:00 2001 From: Daniel Gale-Rosen Date: Mon, 5 Aug 2024 13:21:07 -0400 Subject: [PATCH] send accountIDList to backend --- src/libs/API/parameters/InviteToRoomParams.ts | 1 + src/libs/actions/Report.ts | 1 + 2 files changed, 2 insertions(+) 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