Compile a missing previous API change
This commit is contained in:
parent
aa16f56462
commit
879fbffb66
|
@ -67,13 +67,13 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.server.all("/robots/:robotname/commands/:commandname", function(req, res) {
|
this.server.all("/robots/:robotname/commands/:commandname", function(req, res) {
|
||||||
var key, params, value, _ref;
|
var params, v, _, _ref;
|
||||||
params = [];
|
params = [];
|
||||||
if (typeof req.body === 'object') {
|
if (typeof req.body === 'object') {
|
||||||
_ref = req.body;
|
_ref = req.body;
|
||||||
for (key in _ref) {
|
for (_ in _ref) {
|
||||||
value = _ref[key];
|
v = _ref[_];
|
||||||
params.push(value);
|
params.push(v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return master.findRobot(req.params.robotname, function(err, robot) {
|
return master.findRobot(req.params.robotname, function(err, robot) {
|
||||||
|
|
Loading…
Reference in New Issue