fix: time zone compliant commands

This commit is contained in:
TresAbhi committed 2023-07-10 01:23:49 +00:00
1 parent dd0644e09f
commit 405f544774
11 files changed
+54 -30

No files matched your search

+1 -1
View File
@@ -10,8 +10,8 @@ export const statsRoute: RouteRegistry = {
async handler(req) {
const type = req.params.type as StatType;
const period = resolvePeriodFromRequest(req);
const player = resolvePlayerFromRequest(req);
const period = resolvePeriodFromRequest(player.server, req);
return await stats(
type,