Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Aug 5, 2024
1 parent f824b9f commit 75483b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions email/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ async function listenForDraftNotifications(emailer: Emailer, signal: AbortSignal
const body =
notif.round === null
? {
subject: `[DRAP] Lottery Round for Draft #${notif.draft_id} has begun!`,
message: `The lottery round for Draft #${notif.draft_id} has begun. For lab heads, kindly coordinate with the draft administrators for the next steps.`,
}
subject: `[DRAP] Lottery Round for Draft #${notif.draft_id} has begun!`,
message: `The lottery round for Draft #${notif.draft_id} has begun. For lab heads, kindly coordinate with the draft administrators for the next steps.`,
}
: {
subject: `[DRAP] Round #${notif.round} for Draft #${notif.draft_id} has begun!`,
message: `Round #${notif.round} for Draft #${notif.draft_id} has begun. For lab heads, kindly check the students module to see the list of students who have chosen your lab.`,
};
subject: `[DRAP] Round #${notif.round} for Draft #${notif.draft_id} has begun!`,
message: `Round #${notif.round} for Draft #${notif.draft_id} has begun. For lab heads, kindly check the students module to see the list of students who have chosen your lab.`,
};
return { emails: db.getValidFacultyAndStaffEmails(), ...body };
}
case 'DraftRoundSubmitted':
Expand Down

0 comments on commit 75483b0

Please sign in to comment.