Filtering for nodes

This commit is contained in:
baldo 2016-06-07 12:39:52 +02:00
parent 954b7a3920
commit 122eadc0de
5 changed files with 69 additions and 10 deletions
server/services

View file

@ -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);
}
);
},