mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 19:30:04 +01:00
closes #4574
This commit is contained in:
@@ -90,7 +90,7 @@ function filterCompletedRewards(uid, rewards, callback) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return (userRewards[reward.id] > reward.claimable) ? false : true;
|
||||
return (userRewards[reward.id] >= reward.claimable) ? false : true;
|
||||
});
|
||||
|
||||
callback(false, rewards);
|
||||
|
||||
Reference in New Issue
Block a user