mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
More features
This commit is contained in:
@ -108,12 +108,12 @@ module.exports = function(config, calendar) {
|
||||
});
|
||||
},
|
||||
function(callback) {
|
||||
Device.find({client: req.body.client, deleted: false })
|
||||
.populate({path: 'deviceType'})
|
||||
.exec(function(err, results) {
|
||||
devices = results;
|
||||
callback(err);
|
||||
});
|
||||
Device.find({'_id': { $in: req.body.devices }})
|
||||
.populate({path: 'deviceType'})
|
||||
.exec(function(err, results) {
|
||||
devices = results;
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
function(callback) {
|
||||
User.find({
|
||||
|
Reference in New Issue
Block a user