Rename function in genders.js from "getGenderBySport" to "retrieveBySport"

main
sudoer777 2021-11-21 15:57:09 -07:00
parent 07c4d9b622
commit a8eb7dae0a
1 changed files with 2 additions and 2 deletions

View File

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