Make "retrieveBySport" function in genders.js async

main
sudoer777 2021-11-21 15:59:07 -07:00
parent a8eb7dae0a
commit e5b1791259
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const genders = require('../../constants/genders');
function retrieveBySport(sportID) { async function retrieveBySport(sportID) {
const query = `SELECT gender const query = `SELECT gender
from scores.divisions from scores.divisions
WHERE sport_id = $1;`; WHERE sport_id = $1;`;