Add module exports for games.js
parent
42ccda2aba
commit
78136df5fd
|
@ -57,4 +57,12 @@ async function retrieveByTeamDivisionAndSeason(teamID, divisionID, seasonID) {
|
|||
gamesList.push(new Game(row[0], row[3], teamID, opponentID, teamScore, opponentScore));
|
||||
});
|
||||
return gamesList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
exports.add = add;
|
||||
exports.remove = remove;
|
||||
exports.retrieveByTeamDivisionAndSeason = retrieveByTeamDivisionAndSeason;
|
Reference in New Issue