Added the possibility to undo a task (closes #252)

This commit is contained in:
Bernd Bestel
2019-07-06 20:34:01 +02:00
parent 914dde4609
commit b4d2e2a20a
8 changed files with 103 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ $app->group('/api', function()
{
$this->get('/tasks', '\Grocy\Controllers\TasksApiController:Current');
$this->post('/tasks/{taskId}/complete', '\Grocy\Controllers\TasksApiController:MarkTaskAsCompleted');
$this->post('/tasks/{taskId}/undo', '\Grocy\Controllers\TasksApiController:UndoTask');
}
// Calendar