mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Add treatments delete id debug.
This commit is contained in:
@@ -98,6 +98,9 @@ function storage (env, ctx) {
|
||||
|
||||
|
||||
function remove (_id, fn) {
|
||||
var objId = new ObjectID(_id);
|
||||
console.log('HERE: ', objId);
|
||||
|
||||
api( ).remove({ '_id': new ObjectID(_id) }, fn);
|
||||
|
||||
ctx.bus.emit('data-received');
|
||||
|
||||
Reference in New Issue
Block a user