Fix missing variables

This commit is contained in:
Gabriel Simmer 2024-08-15 22:24:43 +01:00
parent d121d60b76
commit f96dfd647d
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -105,6 +105,9 @@ async function withAuth(request, env, ctx) {
}
async function newSnapshot(request, env, ctx) {
const kv = env.KV_STORE;
const bucket = env.R2_BUCKET;
const body = await request.formData();
const {
date,