diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-26 02:43:48 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-06-27 16:27:15 -1000 |
commit | 865a911d8d889a4eb50009d0d879d204012b87b3 (patch) | |
tree | 4fcd7e8080a3ab1fd20532233decb7870a68243d /lib/app.js | |
parent | 08219f99c20f516629b2be6d1996a21fdcb42731 (diff) | |
download | patchfoo-865a911d8d889a4eb50009d0d879d204012b87b3.tar.gz patchfoo-865a911d8d889a4eb50009d0d879d204012b87b3.zip |
Fix votes end handling
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |