Removed unused parameter.
This commit is contained in:
@@ -30,7 +30,7 @@ const addWines = wines => {
|
|||||||
return Promise.all(prelotteryWines);
|
return Promise.all(prelotteryWines);
|
||||||
};
|
};
|
||||||
|
|
||||||
const wineById = (id, updateModel) => {
|
const wineById = id => {
|
||||||
return PreLotteryWine.findOne({ _id: id }).then(wine => {
|
return PreLotteryWine.findOne({ _id: id }).then(wine => {
|
||||||
if (wine == null) {
|
if (wine == null) {
|
||||||
throw new WineNotFound();
|
throw new WineNotFound();
|
||||||
|
|||||||
Reference in New Issue
Block a user