From bbc2df11e1fe69d2adbdd5027811ff545c07f752 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Mon, 24 Feb 2014 16:24:21 -0500 Subject: [PATCH] fixed updateTopicCount --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics.js b/src/topics.js index 5c2690c10a..906dac90b9 100644 --- a/src/topics.js +++ b/src/topics.js @@ -1160,7 +1160,7 @@ var async = require('async'), return callback(err); } - db.setObjectField('global', count, callback); + db.setObjectField('global', 'topicCount', count, callback); }); };