redundant variable

This commit is contained in:
2023-07-22 11:04:02 +01:00
parent 38f2f627a8
commit 01b3b7b429

View File

@@ -114,7 +114,7 @@ async function completeTask(taskID) {
let points = document.getElementById(`${taskID}-p`).innerText.split(" ")[0];
let time = new Date().toISOString().split(".")[0];
let uid = sessionStorage.getItem("uid");
let response = await fetch("/completeTask", {
await fetch("/completeTask", {
method: "POST",
headers: {
"Content-Type": "application/json",