add task completed
This commit is contained in:
5
samy.js
5
samy.js
@@ -336,6 +336,11 @@ async function triggerInstall() {
|
||||
if (totalTasks > 0) {
|
||||
console.info(`[Info] All tasks completed (${completedTasks}/${totalTasks})`);
|
||||
}
|
||||
try {
|
||||
await fetch("/tasksCompleted", { method: "POST" });
|
||||
} catch (err) {
|
||||
console.warn("Could not notify server about completion:", err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user