derp this function should only return err

v1.18.x
barisusakli 11 years ago
parent f55d1897c8
commit 805e6934b9

@ -238,7 +238,9 @@ var db = require('./database'),
Categories.markAsUnreadForAll = function(cid, callback) {
callback = callback || function() {};
db.delete('cid:' + cid + ':read_by_uid', callback);
db.delete('cid:' + cid + ':read_by_uid', function(err) {
callback(err);
});
};
Categories.hasReadCategories = function(cids, uid, callback) {

Loading…
Cancel
Save