From 91ff428d9a5b3ddb1ac8d906ec91e3390e97de73 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:36 -0400 Subject: [PATCH] Remove useless kv put --- functions/api/reports/complete.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/functions/api/reports/complete.ts b/functions/api/reports/complete.ts index fd1d8b0..0ca2186 100644 --- a/functions/api/reports/complete.ts +++ b/functions/api/reports/complete.ts @@ -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({