Fix error with /robots route in API
This commit is contained in:
parent
cdf309afe2
commit
2acc07b443
|
@ -68,7 +68,7 @@ namespace("Cylon", function() {
|
|||
var robot;
|
||||
return res.json((function() {
|
||||
var _i, _len, _ref, _results;
|
||||
_ref = master.robots();
|
||||
_ref = master.robots;
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
robot = _ref[_i];
|
||||
|
|
Loading…
Reference in New Issue