redundant variable
This commit is contained in:
@@ -114,7 +114,7 @@ async function completeTask(taskID) {
|
|||||||
let points = document.getElementById(`${taskID}-p`).innerText.split(" ")[0];
|
let points = document.getElementById(`${taskID}-p`).innerText.split(" ")[0];
|
||||||
let time = new Date().toISOString().split(".")[0];
|
let time = new Date().toISOString().split(".")[0];
|
||||||
let uid = sessionStorage.getItem("uid");
|
let uid = sessionStorage.getItem("uid");
|
||||||
let response = await fetch("/completeTask", {
|
await fetch("/completeTask", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user