Skip to content

Commit

Permalink
Merge branch 'master' into podcast-adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina authored May 10, 2024
2 parents 34ced93 + bb4a8a8 commit a9069af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ $ const { alias } = input;
$ const awards = getAsArray(node, "children.edges").map(({ node }) => node);
$ const awardsAppropriatelyOrdered = awards.reduce((array, award) => {
const innerArray = array;
if (award.name.match("Male Sport Winner")) {
if (award.name.match("Male Winner")) {
innerArray[0] = award;
} else if (award.name.match("Female Sport Winner")) {
} else if (award.name.match("Female Winner")) {
innerArray[1] = award;
} else if (award.name.match("Male Sport Finalists")) {
innerArray[2] = award;
Expand Down

0 comments on commit a9069af

Please sign in to comment.