Add exports to seasons.js
parent
4eadf64fac
commit
5f68b24d8b
|
@ -40,4 +40,12 @@ async function retrieveAll() {
|
||||||
seasonsList.push(new Season(row[0], row[1]));
|
seasonsList.push(new Season(row[0], row[1]));
|
||||||
});
|
});
|
||||||
return seasonsList;
|
return seasonsList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exports.add = add;
|
||||||
|
exports.remove = remove;
|
||||||
|
exports.retrieveAll = retrieveAll;
|
Reference in New Issue