Expiration needs to be in seconds not ms
This commit is contained in:
parent
e2c98ccfae
commit
62592e64b8
@ -13,7 +13,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
await context.env.DATA.put(
|
await context.env.DATA.put(
|
||||||
`gameappealblock_${appealData.roblox_id}`,
|
`gameappealblock_${appealData.roblox_id}`,
|
||||||
`${Date.now() + 2592000000}`,
|
`${Date.now() + 2592000000}`,
|
||||||
{ expirationTtl: 2592000000 },
|
{ expirationTtl: 2592000 },
|
||||||
);
|
);
|
||||||
|
|
||||||
return new Response(null, {
|
return new Response(null, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user