working on time tracking implementation

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-26 15:33:31 +02:00
parent d0e3dc8b0c
commit 7a020048d8
6 changed files with 84 additions and 33 deletions

View File

@@ -6,7 +6,7 @@
let { task_id } = $props();
async function addTask(){
const url = api(`time/add_task/${task_id}`);
const url = api(`time/track_task/${task_id}`);
const resp = await fetch(url,{credentials:'include'}); // create new time or return time with assigned tasks
}