Add module exports for games.js

main
sudoer777 2021-11-20 23:02:22 -07:00
parent 42ccda2aba
commit 78136df5fd
1 changed files with 9 additions and 1 deletions

View File

@ -57,4 +57,12 @@ async function retrieveByTeamDivisionAndSeason(teamID, divisionID, seasonID) {
gamesList.push(new Game(row[0], row[3], teamID, opponentID, teamScore, opponentScore)); gamesList.push(new Game(row[0], row[3], teamID, opponentID, teamScore, opponentScore));
}); });
return gamesList; return gamesList;
} }
exports.add = add;
exports.remove = remove;
exports.retrieveByTeamDivisionAndSeason = retrieveByTeamDivisionAndSeason;