From 9fd67a6bc3254386fc5a0f9dad104d6d510832c0 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 18 Feb 2021 20:55:41 +0100 Subject: [PATCH] Removed unused parameter. --- api/prelotteryWine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/prelotteryWine.js b/api/prelotteryWine.js index 8f6f866..bac62de 100644 --- a/api/prelotteryWine.js +++ b/api/prelotteryWine.js @@ -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();