Fixes
This commit is contained in:
@ -14,6 +14,7 @@ $app->group('/currency/{currency_id}', function($app) {
|
||||
$app->put('/edit[/]', [Currencies::class, 'edit']);
|
||||
$app->delete('/delete[/]', [Currencies::class, 'delete']);
|
||||
$app->group('/values', function($app) {
|
||||
$app->get('/latest[/]', [Currencies::class, 'latestValue']);
|
||||
$app->post('/add[/]', [Currencies::class, 'addValues']);
|
||||
$app->get('[/]', [Currencies::class, 'getValues']);
|
||||
$app->options('[/]', function (Request $request, Response $response): Response {
|
||||
|
Reference in New Issue
Block a user