Skip to content

Commit 0364f3c

Browse files
committed
display ephemeral message to correct user
1 parent 269e7dc commit 0364f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/src/utils/slack.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export const sendPendingSaboSubmissionNotification = async (
225225
threads,
226226
`${await getUserSlackMentionOrName(financeUserId)} has added this reimbursement request to Concur. ${await getUserSlackMentionOrName(pendingSubmissionFromId)}, please check your email to approve the request in Concur and mark it as submitted on Finishline.`
227227
);
228-
const userId = await getUserSlackId(financeUserId);
228+
const userId = await getUserSlackId(pendingSubmissionFromId);
229229
if (threads && threads.length !== 0 && userId) {
230230
const msgs = threads.map((thread) =>
231231
sendEphemeralMessage(

0 commit comments

Comments
 (0)