Don't set email address key for gamenights
This commit is contained in:
parent
508f5c6b98
commit
9d3b210bff
@ -95,11 +95,12 @@ export async function onRequestPost(context: RequestContext) {
|
||||
method: "POST",
|
||||
});
|
||||
|
||||
await context.env.DATA.put(
|
||||
`eventemail_${id}`,
|
||||
context.data.current_user.email,
|
||||
{ expirationTtl: 2678400 },
|
||||
);
|
||||
if (type !== "gamenight")
|
||||
await context.env.DATA.put(
|
||||
`eventemail_${id}`,
|
||||
context.data.current_user.email,
|
||||
{ expirationTtl: 2678400 },
|
||||
);
|
||||
|
||||
return new Response(null, {
|
||||
status: 204,
|
||||
|
Loading…
x
Reference in New Issue
Block a user