Skip to content

Commit

Permalink
fix: 🐛 re-enable supressDuplicateEntries (apparently disabled durin…
Browse files Browse the repository at this point in the history
…g recent refactor)
  • Loading branch information
CourtHive committed Apr 2, 2024
1 parent 6b0ed27 commit 8258381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutate/drawDefinitions/entryGovernor/addDrawEntries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export function addDrawEntries(params: AddDrawEntriesArgs) {
return notAdded;
}, []);

if (duplicateEntries.length && suppressDuplicateEntries) {
if (duplicateEntries.length && !suppressDuplicateEntries) {
return decorateResult({
context: { eventId, drawId, duplicateEntries },
result: { error: DUPLICATE_ENTRY },
Expand Down

0 comments on commit 8258381

Please sign in to comment.