Add module exports to teams.js
parent
c2e3c95cfd
commit
90e302c3ae
|
@ -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;
|
Reference in New Issue