feat: added more mature secrets handling

This commit is contained in:
TresAbhi committed 2023-07-16 18:26:33 +00:00
1 parent c72bfa9f71
commit eca7cbbbeb
26 files changed
+81 -75

No files matched your search

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