Delete collection returns "ok" not found
Closed this issue · 1 comments
parente commented
uow.getDatabase({database : 'catalog', collection : '*', mode : 'crudL'}).then(function(db) { d = db; });
d.fetch({onComplete: function(items) { x = items; }});
d.deleteItem(x[0]);
d.save();
ReferenceError: Can't find variable: ok
Succeeds as the next fetch shows the collection missing, but the above error still prints.
gbishop commented
Fixed in master.