Removed unused parameter.

This commit is contained in:
2021-02-18 20:55:41 +01:00
parent 70c80849df
commit 9fd67a6bc3

View File

@@ -30,7 +30,7 @@ const addWines = wines => {
return Promise.all(prelotteryWines);
};
const wineById = (id, updateModel) => {
const wineById = id => {
return PreLotteryWine.findOne({ _id: id }).then(wine => {
if (wine == null) {
throw new WineNotFound();