Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove useless kv put
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 20cb947 commit 91ff428
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions functions/api/reports/complete.ts
Expand Up @@ -36,8 +36,6 @@ export async function onRequestPost(context: RequestContext) {
status: 500,
});

await context.env.DATA.put(`report_${id}`, value as string);

if (context.env.REPORTS_WEBHOOK) {
await fetch(context.env.REPORTS_WEBHOOK, {
body: JSON.stringify({
Expand Down

0 comments on commit 91ff428

Please sign in to comment.