Skip to content

Commit

Permalink
Add attended events column to applicants firebase queries
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-panhead committed Dec 1, 2024
1 parent f8d92ec commit 99e2151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utility/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export const filterHackerInfoFields = (obj, collection) => {
newObj.longAnswers1 = obj.skills?.longAnswers1 || false
newObj.longAnswers2 = obj.skills?.longAnswers2 || false
newObj.longAnswers3 = obj.skills?.longAnswers3 || false

newObj.attendedEvents = obj.dayOf?.events?.map(e => e.eventName).join(', ') ?? ''
} else if (collection === 'Projects') {
newObj = { ...obj }
delete newObj.grades
Expand Down

0 comments on commit 99e2151

Please sign in to comment.