Add module exports to teams.js

main
sudoer777 2021-11-20 21:47:15 -07:00
parent c2e3c95cfd
commit 90e302c3ae
1 changed files with 10 additions and 1 deletions

View File

@ -49,4 +49,13 @@ async function retrieveBySport(sportID) {
teamsList.push(new Team(row[0], row[1])); teamsList.push(new Team(row[0], row[1]));
}); });
return teamsList; return teamsList;
} }
exports.create = create;
exports.rename = rename;
exports.remove = remove;
exports.retrieveBySport = retrieveBySport;