eliminado el filter de MyModel

This commit is contained in:
nelo 2017-05-18 11:55:46 +02:00
parent b4d167bbb7
commit 5e965f485f
1 changed files with 0 additions and 8 deletions

View File

@ -60,14 +60,6 @@ module.exports = function(self) {
path: `/${methodName}`
}
});
this.filter = (params, cb) => {
let filter = removeEmpty(filterCb(params));
this.find(filter, function(err, instances) {
if(!err)
cb(null, instances);
})
};
};
}