Add module exports to divisions.js
parent
e056743022
commit
c2e3c95cfd
|
@ -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 New Issue