Remove useless kv put
This commit is contained in:
parent
20cb94729e
commit
91ff428d9a
@ -36,8 +36,6 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
status: 500,
|
status: 500,
|
||||||
});
|
});
|
||||||
|
|
||||||
await context.env.DATA.put(`report_${id}`, value as string);
|
|
||||||
|
|
||||||
if (context.env.REPORTS_WEBHOOK) {
|
if (context.env.REPORTS_WEBHOOK) {
|
||||||
await fetch(context.env.REPORTS_WEBHOOK, {
|
await fetch(context.env.REPORTS_WEBHOOK, {
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user