feat: add update endpoint
This commit is contained in:
@@ -22,6 +22,7 @@ $app->get('/', [HomeFrontController::class, 'home']);
|
||||
|
||||
$app->get('/tasks/{id}', [TaskController::class, 'getTask']);
|
||||
$app->delete('/tasks/{id}', [TaskController::class, 'delete']);
|
||||
$app->patch('/tasks/{id}', [TaskController::class, 'update']);
|
||||
|
||||
$app->get('/tasks', [TaskController::class, 'getTasks']);
|
||||
$app->post('/tasks', [TaskController::class, 'addTask']);
|
||||
|
Reference in New Issue
Block a user