mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Revert "Merge pull request #8026 from nightscout/less_frequent_db_updates"
This reverts commit2757fe585d, reversing changes made to4a461e5890.
This commit is contained in:
@@ -71,7 +71,7 @@ function configure (app, wares, ctx) {
|
||||
});
|
||||
// delete record
|
||||
api.delete('/food/:_id', ctx.authorization.isPermitted('api:food:delete'), function(req, res) {
|
||||
ctx.food.deleteOne(req.params._id, function ( ) {
|
||||
ctx.food.remove(req.params._id, function ( ) {
|
||||
res.json({ });
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user