Include type of event in event email templates
This commit is contained in:
@ -98,7 +98,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
if (type !== "gamenight")
|
||||
await context.env.DATA.put(
|
||||
`eventemail_${id}`,
|
||||
context.data.current_user.email,
|
||||
JSON.stringify({ email: context.data.current_user.email, type }),
|
||||
{ expirationTtl: 2678400 },
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user