Explorar el Código

fix: added authJWT on kitchen and reports routes

EduLascala hace 4 meses
padre
commit
998a302ee0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      public/index.php

+ 2 - 2
public/index.php

@@ -88,9 +88,9 @@ $app->post('/description/update', $cors, $authJwt, \Controllers\DescriptionUpdat
 $app->get('/menu/get/{id}', $cors, \Controllers\MenuGetController::class);
 
 //Kitchen Route
-$app->post('/kitchen/get', $cors, \Controllers\KitchenGetController::class);
+$app->post('/kitchen/get', $cors, $authJwt, \Controllers\KitchenGetController::class);
 
 //Reports Route
-$app->post('/reports/get', $cors, \Controllers\ReportsGetController::class);
+$app->post('/reports/get', $cors, $authJwt, \Controllers\ReportsGetController::class);
 
 $app->run();