From dcc7592c4fca4fb05edcde715d7024e5c9ba1d40 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Tue, 23 Jun 2020 20:28:11 +0200 Subject: [PATCH] Routes Fix --- app/Routes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Routes.php b/app/Routes.php index 1b4446c..2255d05 100644 --- a/app/Routes.php +++ b/app/Routes.php @@ -23,6 +23,8 @@ $router->get('/api/rooms/{roomId}/update', 'RoomsApi@update'); $router->get('/api/devices', 'DevicesApi@default'); +$router->get('/api/users', 'UsersApi@default'); + $router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run'); $router->post('/api/widgets/{widgetId}/check', 'WidgetApi@check'); $router->post('/api/widgets/{widgetId}/detail', 'WidgetApi@detail');