diff --git a/functions/api/reports/complete.ts b/functions/api/reports/complete.ts index cb75901..609ca0e 100644 --- a/functions/api/reports/complete.ts +++ b/functions/api/reports/complete.ts @@ -77,7 +77,7 @@ export async function onRequestPost(context: RequestContext) { }, method: "POST", }), - context.env.DATA.put(`coconutjob_${attachment}`, token, { + await context.env.DATA.put(`coconutjob_${attachment}`, token, { expirationTtl: 600, }), );