FIX: Fetch by state
This commit is contained in:
@ -12,7 +12,10 @@ $app->group('/reservations', function($app) {
|
||||
});
|
||||
$app->post('/reservation/add[/]', [Reservations::class, 'addOne']);
|
||||
$app->group('/reservation/{reservation_id}', function($app) {
|
||||
$app->get('/approve[/]', [Reservations::class, 'approve']);
|
||||
$app->get('/reject[/]', [Reservations::class, 'reject']);
|
||||
$app->post('/edit[/]', [Reservations::class, 'edit']);
|
||||
$app->delete('/remove[/]', [Reservations::class, 'remove']);
|
||||
$app->delete('[/]', [Reservations::class, 'delete']);
|
||||
$app->get('[/]', [Reservations::class, 'get']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user