From 865a911d8d889a4eb50009d0d879d204012b87b3 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 26 Jun 2017 02:43:48 -1000 Subject: Fix votes end handling --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.js b/lib/app.js index 052c767..13d947e 100644 --- a/lib/app.js +++ b/lib/app.js @@ -440,7 +440,7 @@ App.prototype.getVoted = function (_opts, cb) { votes.feedsObj[msg.value.author] = value votes.value += value }, function (err) { - if (err) return cb(err) + if (err && err !== true) return cb(err) var items = votedArray if (opts.reverse) items.reverse() items.sort(compareVoted) -- cgit v1.2.3