feat(tasks): make due date editable

This commit is contained in:
Elian Doran
2025-02-25 18:36:46 +02:00
parent 84e8559401
commit fcd7b986aa
6 changed files with 72 additions and 8 deletions

View File

@@ -283,6 +283,7 @@ function register(app: express.Application) {
apiRoute(GET, "/api/tasks/:parentNoteId", tasksRoute.getTasks);
apiRoute(PST, "/api/tasks", tasksRoute.createNewTask);
apiRoute(PST, "/api/tasks/:taskId/toggle", tasksRoute.toggleTaskDone);
apiRoute(PATCH, "/api/tasks/:taskId", tasksRoute.updateTask);
// in case of local electron, local calls are allowed unauthenticated, for server they need auth
const clipperMiddleware = isElectron ? [] : [auth.checkEtapiToken];