mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
More features
This commit is contained in:
@ -115,6 +115,15 @@ module.exports = function(config) {
|
||||
}
|
||||
|
||||
testRun.save(returnResult(res));
|
||||
|
||||
Device.findById(testRun.device, function(err, device) {
|
||||
if (err) {
|
||||
log.error("Failed to fetch device for testRun: %s", err);
|
||||
} else {
|
||||
device.lastTestRun = testRun;
|
||||
device.save();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
update: function(req, res, next) {
|
||||
|
Reference in New Issue
Block a user