remove get function

This commit is contained in:
Francesco Esposito 2019-02-22 10:10:24 +01:00
parent 008b8f2360
commit 25a149c4c9
1 changed files with 0 additions and 4 deletions

View File

@ -47,7 +47,3 @@ const deviceSchema = mongoose.Schema(device, {
const Device = mongoose.model('device', deviceSchema);
module.exports = Device;
module.exports.get = (callback, limit) => {
Device.find(callback).limit(limit);
};