Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/backend/src/eventHandlers/email/eliEmailHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export async function eliEmailHandler(event: ApplicationEvent) {

case Event.PROPOSAL_CO_PROPOSER_INVITES_UPDATED: {
const invites = event.array;
const { proposalPKey } = event;

for (const invite of invites) {
if (invite.isEmailSent) {
Expand Down Expand Up @@ -133,6 +134,7 @@ export async function eliEmailHandler(event: ApplicationEvent) {
...event,
type: Event.PROPOSAL_CO_PROPOSER_INVITE_EMAIL_SENT,
invite,
proposalPKey,
});
});
}
Expand Down
2 changes: 2 additions & 0 deletions apps/backend/src/eventHandlers/email/essEmailHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ export async function essEmailHandler(event: ApplicationEvent) {

case Event.PROPOSAL_CO_PROPOSER_INVITES_UPDATED: {
const invites = event.array;
const { proposalPKey } = event;

for (const invite of invites) {
if (invite.isEmailSent) {
Expand Down Expand Up @@ -299,6 +300,7 @@ export async function essEmailHandler(event: ApplicationEvent) {
...event,
type: Event.PROPOSAL_CO_PROPOSER_INVITE_EMAIL_SENT,
invite,
proposalPKey,
});
});
}
Expand Down
Loading