Compile a missing previous API change

This commit is contained in:
Andrew Stewart 2014-01-03 17:14:35 -08:00
parent aa16f56462
commit 879fbffb66
1 changed files with 4 additions and 4 deletions

8
dist/api.js vendored
View File

@ -67,13 +67,13 @@
});
});
this.server.all("/robots/:robotname/commands/:commandname", function(req, res) {
var key, params, value, _ref;
var params, v, _, _ref;
params = [];
if (typeof req.body === 'object') {
_ref = req.body;
for (key in _ref) {
value = _ref[key];
params.push(value);
for (_ in _ref) {
v = _ref[_];
params.push(v);
}
}
return master.findRobot(req.params.robotname, function(err, robot) {