category purge fix

This commit is contained in:
barisusakli
2015-09-30 16:29:25 -04:00
parent 0b052171f0
commit a054353b6c

View File

@@ -25,7 +25,7 @@ module.exports = function(Categories) {
}; };
function purgeCategory(cid, callback) { function purgeCategory(cid, callback) {
async.parallel([ async.series([
function(next) { function(next) {
db.sortedSetRemove('categories:cid', cid, next); db.sortedSetRemove('categories:cid', cid, next);
}, },