Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:ZeusWPI/12urenloop
Browse files Browse the repository at this point in the history
  • Loading branch information
Procrat committed Apr 29, 2015
2 parents c1f506a + a347fcf commit d2b2515
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions boxxy/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ app.put('/ping', basicAuth, function(req, res) {
});

app.put('/state', basicAuth, function(req, res) {
req.body.teams['16'].name = "VRG";
req.body.teams['19'].name = "Urgent.fm & Schamper";
try {
req.body.teams['16'].name = "VRG";
req.body.teams['19'].name = "Urgent.fm & Schamper";
} catch(err) {
}
console.log('PUT /state');
boxxyState.putState(req.body);
res.send('OK');
Expand Down

0 comments on commit d2b2515

Please sign in to comment.