Merge branch 'master' into feat/history-page-by-date

This commit is contained in:
2020-10-11 18:22:04 +02:00
committed by GitHub
20 changed files with 561 additions and 250 deletions

View File

@@ -104,6 +104,7 @@ const byEpochDate = (req, res) => {
const byName = (req, res) => {
const { name } = req.params;
const regexName = new RegExp(name, "i"); // lowercase regex of the name
return Highscore.find({ name })
.then(highscore => {