🐛 Fix invite link in email template

This commit is contained in:
Luke Vella 2024-06-18 19:36:52 +01:00
parent 21ac4a3b38
commit db8655aab9

View file

@ -840,7 +840,7 @@ export const polls = router({
to: p.email,
props: {
name: p.name,
pollUrl: ctx.absoluteUrl(`/poll/${poll.id}`),
pollUrl: ctx.absoluteUrl(`/invite/${poll.id}`),
location: poll.location,
title: poll.title,
hostName: poll.user?.name ?? "",