fix: use the morning date
This commit is contained in:
1 parent
54dec17ef1
commit
4ce16a20ad
1 file changed
+1
-1
+1
-1
@@ -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')) {
|
||||
|
||||
Reference in new issue
Block a user