Add module exports to divisions.js
This commit is contained in:
parent
e056743022
commit
c2e3c95cfd
1 changed files with 10 additions and 1 deletions
|
@ -58,4 +58,13 @@ async function retrieveBySportAndGender(sportID, gender) {
|
||||||
divisionsList.push(new Division(row[0], row[1]));
|
divisionsList.push(new Division(row[0], row[1]));
|
||||||
});
|
});
|
||||||
return divisionsList;
|
return divisionsList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exports.create = create;
|
||||||
|
exports.rename = rename;
|
||||||
|
exports.remove = remove;
|
||||||
|
exports.retrieveBySportAndGender = retrieveBySportAndGender;
|
Reference in a new issue