From a054353b6c9896693bfb9c64e7e389380bff1ea1 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 30 Sep 2015 16:29:25 -0400 Subject: [PATCH] category purge fix --- src/categories/delete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/categories/delete.js b/src/categories/delete.js index f2452ce893..ea3b567085 100644 --- a/src/categories/delete.js +++ b/src/categories/delete.js @@ -25,7 +25,7 @@ module.exports = function(Categories) { }; function purgeCategory(cid, callback) { - async.parallel([ + async.series([ function(next) { db.sortedSetRemove('categories:cid', cid, next); },