fix: use the morning date

This commit is contained in:
Mateusz Pstrucha committed 2021-10-28 09:27:48 +02:00
1 parent 54dec17ef1
commit 4ce16a20ad
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ router.get(
morning.setHours(8, 0, 0, 0)
countAllVotes().then((tids) => {
countAllVotes(morning).then((tids) => {
res.json(tids)
})
} else if ((mode = 'rolling')) {