mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 00:38:28 +03:00
fix: don't allow duplicates in incoming goals
This commit is contained in:
@@ -88,6 +88,9 @@ MutateCollection("goals.json", (goals) => {
|
||||
continue;
|
||||
}
|
||||
|
||||
// don't allow duplicates in incoming goals, either.
|
||||
goalIDs.add(goal.goalID);
|
||||
|
||||
goals.push(goal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user