From 4c02c81cc3a32fbd7ffb5fde146f38511bd28759 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 9 Oct 2020 00:55:18 +0200 Subject: [PATCH] Name also part of highscore/by-name resp. --- api/lottery.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/lottery.js b/api/lottery.js index 244f0dd..aacd9df 100644 --- a/api/lottery.js +++ b/api/lottery.js @@ -111,6 +111,7 @@ const byName = (req, res) => { return res.send({ message: `Lottery winnings by name: ${name}`, + name: name, highscore: highscoreWithResolvedWines }) } else {