From be1d4307553d5f14c46cc558a23898af9cafff25 Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Sat, 26 Nov 2022 16:27:17 -0600 Subject: [PATCH] bug fixes --- Sources/App/Controllers/StatsController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 7225158..7050d83 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -685,8 +685,7 @@ struct StatsController: RouteCollection { let casualOverall = getCasualStats(db: db) let bocwCasual = getCasualStatsForGame(db: db, gameId: "bocw") - let mw2Casual = getCasualStatsForGame(db: db, gameId: "mw2") - + let mw2Casual = getCasualStatsForGame(db: db, gameId: "mw2", afterDate: Date(timeIntervalSince1970: 1635823473)) let vgCasual = getCasualStatsForGame(db: db, gameId: "vg", afterDate: Date(timeIntervalSince1970: 1635823473)) //nov 21 to exlude beta time in sept