mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 15:20:39 +01:00
missing error
This commit is contained in:
@@ -69,6 +69,10 @@ function getIDsByCondition(condition, callback) {
|
||||
|
||||
function filterCompletedRewards(uid, rewards, callback) {
|
||||
db.getSortedSetRangeByScoreWithScores('uid:' + uid + ':rewards', 0, -1, 1, Infinity, function(err, data) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
var userRewards = {};
|
||||
|
||||
data.forEach(function(obj) {
|
||||
|
||||
Reference in New Issue
Block a user