Skip to content

Commit

Permalink
removed hue
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Stene committed Sep 20, 2017
1 parent d1452fe commit f58d590
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var api = new HueApi(hueip, hueAPIkey);
/**
* GET all groups
*/
app.get('/hue/groups', function (request, response) {
app.get('/groups', function (request, response) {
console.log("GET all groups");
console.log(request.query);

Expand All @@ -49,7 +49,7 @@ app.get('/hue/groups', function (request, response) {
* id: 1
* }
*/
app.get('/hue/group', function (request, response) {
app.get('/group', function (request, response) {
console.log("GET single group");
console.log(request.query);

Expand All @@ -71,7 +71,7 @@ app.get('/hue/group', function (request, response) {
* brightness: 255
* }
*/
app.put('/hue/group', function (request, response) {
app.put('/group', function (request, response) {
console.log(request.query)

var id = request.query.id;
Expand Down

0 comments on commit f58d590

Please sign in to comment.