Skip to content

Commit

Permalink
TEMP: log maybeSendImmediatelyDetail in email-lambda (investigati…
Browse files Browse the repository at this point in the history
…ng group mention emails for imaging_requests not being sent)
  • Loading branch information
twrichards committed Jun 5, 2024
1 parent 3f76fa9 commit 849690c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions email-lambda/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export const handler = async (maybeSendImmediatelyDetail?: {
itemId: number;
maybeRelatedItemId?: number;
}) => {
console.log({ maybeSendImmediatelyDetail });

const itemIdWithGroupMention = maybeSendImmediatelyDetail?.itemId;
const groupMentionRef =
maybeSendImmediatelyDetail?.maybeRelatedItemId || itemIdWithGroupMention; // this ensures threading (i.e. claim ends up as reply to the original email)
Expand Down

0 comments on commit 849690c

Please sign in to comment.