mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
feat(tasks): mark tasks as completed
This commit is contained in:
@@ -5,3 +5,7 @@ export async function createNewTask(title: string) {
|
||||
title
|
||||
});
|
||||
}
|
||||
|
||||
export async function toggleTaskDone(taskId: string) {
|
||||
await server.post(`tasks/${taskId}/toggle`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user