eliminado el filter de MyModel
This commit is contained in:
parent
b4d167bbb7
commit
5e965f485f
|
@ -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);
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue