Merge pull request #50 from KevinMidboe/fix/personal-highscore-page

Fix/personal highscore page
This commit is contained in:
2020-10-11 18:49:18 +02:00
committed by GitHub
2 changed files with 16 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ const byName = (req, res) => {
.then(highscore => res.send({
message: `Lottery winnings for name: ${ name }.`,
name: highscore.name,
wins: highscore.wins
highscore: highscore.wins
}))
}