mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-01-02 18:56:49 +01:00
remove get function
This commit is contained in:
parent
008b8f2360
commit
25a149c4c9
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user