diff --git a/database/scores/genders.js b/database/scores/genders.js index 126e57b..b59bdb0 100644 --- a/database/scores/genders.js +++ b/database/scores/genders.js @@ -26,16 +26,16 @@ async function retrieveBySport(sportID) { return gendersList; } if(table.length == 2) { - gendersList.push(genders.FEMALE); - gendersList.push(genders.MALE); + gendersList.push(FEMALE); + gendersList.push(MALE); return gendersList; } else if(table[0][0] = "F") { - gendersList.push(genders.FEMALE); + gendersList.push(FEMALE); return gendersList; } else if(table[0][0] = "M") { - gendersList.push(genders.MALE); + gendersList.push(MALE); return gendersList; } }