Skip to content

Commit

Permalink
Update email invite message and add summary gif
Browse files Browse the repository at this point in the history
  • Loading branch information
yumstar committed Jan 31, 2023
1 parent ee73005 commit 17706f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added Invoitations.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion server/routes/eventInfos.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ eventInfoRouter.route('/eventInfos/:id').get((req, res) => {
}

eventInfo.save()
.then(() => res.json(`Contact with id ${req.params.id} updated`))
.then(() => res.json(`Event with id ${req.params.id} updated`))
.catch(err => res.status(400).json({error: err.message}));
})
.catch(err => res.status(400).json({error: err.message}));
Expand Down
2 changes: 1 addition & 1 deletion server/routes/invitationLists.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ invitationListRouter.route('/invitationLists/:id/inviteByEmail').post((req, res)
personalizations: emailPersonalizations,
from: process.env.SENDGRID_VERIFIED_SENDER, // Change to your verified sender
subject: process.env.USER + " invites you to " + event.name + "!",
text: `Hey, ${process.env.USER} invites you to ${event.name} on ${dateFormat(event.date, "fullDate")} at ${dateFormat(event.time, "shortTime")}`,
text: `Hey, ${process.env.USER} invites you to ${event.name} on ${dateFormat(event.date, "fullDate")} at ${dateFormat(event.time, "shortTime")}!`,
// html: '<strong>and easy to do anywhere, even with Node.js</strong>',
}

Expand Down

0 comments on commit 17706f7

Please sign in to comment.