Filtering for nodes
This commit is contained in:
parent
954b7a3920
commit
122eadc0de
5 changed files with 69 additions and 10 deletions
server/services
|
@ -372,7 +372,6 @@ angular.module('ffffng')
|
|||
|
||||
getAllNodes: function (callback) {
|
||||
var files = findNodeFiles({});
|
||||
var total = files.length;
|
||||
|
||||
async.mapLimit(
|
||||
files,
|
||||
|
@ -384,7 +383,7 @@ angular.module('ffffng')
|
|||
return callback({data: 'Internal error.', type: ErrorTypes.internalError});
|
||||
}
|
||||
|
||||
return callback(null, nodes, total);
|
||||
return callback(null, nodes);
|
||||
}
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue