From c1e89163189872bbdc8926283318d220f1e0832a Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 25 Nov 2014 09:15:53 +0000 Subject: [PATCH] Incorrect function being called --- html/api_v0.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/api_v0.php b/html/api_v0.php index 774d81967..16470aefe 100644 --- a/html/api_v0.php +++ b/html/api_v0.php @@ -37,7 +37,7 @@ $app->group('/api', function() use ($app) { $app->get('/:hostname/ports/:ifname/:type', 'authToken', 'get_graph_by_port_hostname')->name('get_graph_by_port_hostname');//api/v0/devices/$hostname/ports/$ifName/$type }); $app->group('/portgroups', function() use ($app) { - $app->get('/:group', 'authToken', 'get_graph_by_group')->name('get_graph_by_portgroup');//api/v0/portgroups/$group + $app->get('/:group', 'authToken', 'get_graph_by_portgroup')->name('get_graph_by_portgroup');//api/v0/portgroups/$group }); $app->get('/devices', 'authToken', 'list_devices')->name('list_devices');//api/v0/devices $app->post('/devices', 'authToken', 'add_device')->name('add_device');//api/v0/devices (json data needs to be passed)