mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-06-06 00:29:14 +02:00
remove get function
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user