mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 10:06:31 +02:00
fix: #9827, fix reward duplication
This commit is contained in:
@@ -24,6 +24,7 @@ rewards.save = async function (data) {
|
||||
|
||||
await Promise.all(data.map(data => save(data)));
|
||||
await saveConditions(data);
|
||||
return data;
|
||||
};
|
||||
|
||||
rewards.delete = async function (data) {
|
||||
|
||||
Reference in New Issue
Block a user