Skip to content

Commit

Permalink
refactor: manque un await
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Nov 23, 2023
1 parent 5740053 commit 9491fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/lib/messaging/sending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async function processSingleEmail(emailType: EmailType, followupId: string) {

switch (emailType) {
case EmailType.SimulationResults:
sendSimulationResultsEmail(followup)
await sendSimulationResultsEmail(followup)
break
case EmailType.BenefitAction:
await sendSurveyEmail(followup, SurveyType.TrackClickOnBenefitActionEmail)
Expand Down

0 comments on commit 9491fd9

Please sign in to comment.