💬 Update email subject lines (#652)

This commit is contained in:
Luke Vella 2023-04-04 09:45:52 +01:00 committed by GitHub
parent da97c94012
commit 38454302b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 10 deletions

View file

@ -101,7 +101,7 @@ export const participants = router({
emailsToSend.push(
sendEmail("NewParticipantConfirmationEmail", {
to: email,
subject: `Response submitted for ${poll.title}`,
subject: `Thanks for responding to ${poll.title}`,
props: {
name,
title: poll.title,
@ -138,7 +138,7 @@ export const participants = router({
emailsToSend.push(
sendEmail("NewParticipantEmail", {
to: email,
subject: `New response for ${poll.title}`,
subject: `${participant.name} has responded to ${poll.title}`,
props: {
name: watcher.user.name,
participantName: participant.name,