mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 17:31:59 +02:00
fixed potential bug in rewards
This commit is contained in:
@@ -15,7 +15,7 @@ rewards.save = function(data, callback) {
|
||||
|
||||
data.id = id;
|
||||
|
||||
async.parallel([
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
rewards.delete(data, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user