Small Fix
This commit is contained in:
parent
0543f74977
commit
b2474fbdfb
@ -23,7 +23,7 @@ $router->get('/api/rooms/:id/update', 'RoomsApi@update');
|
|||||||
|
|
||||||
$router->get('/api/devices', 'DevicesApi@default');
|
$router->get('/api/devices', 'DevicesApi@default');
|
||||||
|
|
||||||
$router->get('/api/widget/:id/run', 'WidgetApi@default');
|
$router->get('/api/widget/:id/run', 'WidgetApi@run');
|
||||||
|
|
||||||
$router->any('/api/HA/auth', 'Oauth');
|
$router->any('/api/HA/auth', 'Oauth');
|
||||||
$router->any('/api/HA', 'GoogleHomeApi@response');
|
$router->any('/api/HA', 'GoogleHomeApi@response');
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
class WidgetApi extends ApiController{
|
class WidgetApi extends ApiController{
|
||||||
|
|
||||||
public function default($subDeviceId){
|
public function run($subDeviceId){
|
||||||
//$this->requireAuth();
|
//$this->requireAuth();
|
||||||
$response = null;
|
$response = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user