mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-05 00:46:00 +08:00
Add unsubscribe endpoint and email footers
This commit is contained in:
@@ -54,8 +54,8 @@ export default defineEventHandler(async (event) => {
|
||||
entry.invitationSentAt = now
|
||||
await entry.save()
|
||||
|
||||
const html = await renderInvitationEmail(invitation.code)
|
||||
const text = renderInvitationText(invitation.code)
|
||||
const html = await renderInvitationEmail(invitation.code, entry.email)
|
||||
const text = renderInvitationText(invitation.code, entry.email)
|
||||
|
||||
await sendMail({
|
||||
to: email,
|
||||
|
||||
Reference in New Issue
Block a user