From a8eb7dae0a9e65fcb88f73b065e16c1d38c59bfe Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Sun, 21 Nov 2021 15:57:09 -0700 Subject: [PATCH] Rename function in genders.js from "getGenderBySport" to "retrieveBySport" --- database/scores/genders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/scores/genders.js b/database/scores/genders.js index 857190f..9e6ba44 100644 --- a/database/scores/genders.js +++ b/database/scores/genders.js @@ -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; \ No newline at end of file +exports.retrieveBySport = retrieveBySport; \ No newline at end of file