From d779e3f9b9fc9a27543cdda8e4ab76f192cd23d1 Mon Sep 17 00:00:00 2001 From: KaseToatz1337 Date: Fri, 26 Apr 2024 14:41:12 +0200 Subject: [PATCH] Update script.js --- html/assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/assets/script.js b/html/assets/script.js index 7432780..4c7fbeb 100644 --- a/html/assets/script.js +++ b/html/assets/script.js @@ -51,7 +51,7 @@ window.onload = () => { method: "POST", body: formData }); - response = await request.json(); + var response = await request.json(); text.innerText = response.message; if (response.type == "error") {