diff --git a/src/sitemap.js b/src/sitemap.js index e621fdc713..114c6f4462 100644 --- a/src/sitemap.js +++ b/src/sitemap.js @@ -55,7 +55,7 @@ var path = require('path'), var topicUrls = []; async.waterfall([ - function(tids, next) { + function(next) { db.getSortedSetRevRange('topics:recent', 0, -1, next); }, function(tids, next) {