From 78136df5fd809fe526cd3815c562fd4e2a9da467 Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Sat, 20 Nov 2021 23:02:22 -0700 Subject: [PATCH] Add module exports for games.js --- database/scores/games.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/database/scores/games.js b/database/scores/games.js index 94e017c..b990a31 100644 --- a/database/scores/games.js +++ b/database/scores/games.js @@ -57,4 +57,12 @@ async function retrieveByTeamDivisionAndSeason(teamID, divisionID, seasonID) { gamesList.push(new Game(row[0], row[3], teamID, opponentID, teamScore, opponentScore)); }); return gamesList; -} \ No newline at end of file +} + + + + + +exports.add = add; +exports.remove = remove; +exports.retrieveByTeamDivisionAndSeason = retrieveByTeamDivisionAndSeason; \ No newline at end of file