Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove useless data var
  • Loading branch information
regalijan committed Mar 27, 2024
1 parent 1d162b7 commit d2a26c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/coconut.ts
Expand Up @@ -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, {
Expand Down

0 comments on commit d2a26c5

Please sign in to comment.