Skip to content

Commit d3f6b0e

Browse files
committed
explicitly filter out social good and hackers choice
1 parent 70c9168 commit d3f6b0e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/(api)/_utils/csv-ingestion/csvAlgorithm.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ function sortTracks(
2121
const initialTracks = [track1, track2, track3]
2222
.map((t) => t.trim())
2323
.filter(
24-
(t) => validTracks.includes(t) && t !== 'Best Hack for Social Good'
25-
); // explicitly filter it out
24+
(t) =>
25+
validTracks.includes(t) &&
26+
t !== 'Best Hack for Social Good' &&
27+
t !== "Hacker's Choice Award"
28+
); // explicitly filter it out again
2629

2730
const existingTrackSet = new Set(initialTracks);
2831

0 commit comments

Comments
 (0)