From 952f2ec584f67036e12e047191444cf180ae0a6c Mon Sep 17 00:00:00 2001 From: Lewis7Lewis <87246452+Lewis7Lewis@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:39:41 +0100 Subject: [PATCH] Remove JS errors --- photologue/static/upload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photologue/static/upload.js b/photologue/static/upload.js index 401bbd4..03222ae 100644 --- a/photologue/static/upload.js +++ b/photologue/static/upload.js @@ -69,7 +69,7 @@ async function uplaodfnc() { fdata.append("reptype", "json"); console.log(fdata); - const response = await fetch("/upload/", { + response = await fetch("/upload/", { method: "POST", body: fdata, }); @@ -114,7 +114,7 @@ async function uplaodfnc() { fdata.append("end","end") console.log(fdata); - const response = await fetch("/upload/", { + response = await fetch("/upload/", { method: "POST", body: fdata, });