diff --git a/functions/api/coconut.ts b/functions/api/coconut.ts index c4c38b5..46b00c3 100644 --- a/functions/api/coconut.ts +++ b/functions/api/coconut.ts @@ -25,7 +25,7 @@ export async function onRequestPost(context: RequestContext) { secretAccessKey: context.env.R2_SECRET_KEY, }); - const { data, event } = await context.request.json(); + const { event } = await context.request.json(); if (event === "job.failed") { await fetch(context.env.REPORTS_WEBHOOK, {