diff --git a/database/scores/genders.js b/database/scores/genders.js index 9e6ba44..c86221a 100644 --- a/database/scores/genders.js +++ b/database/scores/genders.js @@ -5,7 +5,7 @@ const genders = require('../../constants/genders'); -function retrieveBySport(sportID) { +async function retrieveBySport(sportID) { const query = `SELECT gender from scores.divisions WHERE sport_id = $1;`;