remove from array

This commit is contained in:
C4illin 2024-05-21 16:27:33 +02:00
parent 74a9252077
commit c8856800a7
6 changed files with 138 additions and 151 deletions

View file

@ -511,7 +511,7 @@ const app = new Elysia()
}
db.run(
"UPDATE jobs SET num_files = ? WHERE id = ?",
"UPDATE jobs SET num_files = ?, status = 'pending' WHERE id = ?",
fileNames.length,
jobId.value,
);
@ -540,7 +540,7 @@ const app = new Elysia()
}),
},
)
.get("/hist", async ({ body, jwt, redirect, cookie: { auth } }) => {
.get("/test", async ({ jwt, redirect, cookie: { auth } }) => {
console.log("results page");
if (!auth?.value) {