Rename function in genders.js from "getGenderBySport" to "retrieveBySport"
parent
07c4d9b622
commit
a8eb7dae0a
|
@ -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;
|
Reference in New Issue