From 56d2513a9cd940e6d9fbb4f17de9b404d663cde1 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 18 Feb 2021 20:38:49 +0100 Subject: [PATCH] Incorrect history.js function called. --- api/controllers/historyController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/historyController.js b/api/controllers/historyController.js index 382a9c5..345a624 100644 --- a/api/controllers/historyController.js +++ b/api/controllers/historyController.js @@ -91,7 +91,7 @@ const groupByDate = (req, res) => { } return historyRepository - .groupedByDate(includeWines == "true", sort) + .groupByDate(includeWines == "true", sort) .then(lotteries => res.send({ lotteries: lotteries,