From 8c3cd32bcf0e503a9df3b0a3268c85333bd03c92 Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Sat, 26 Nov 2022 16:31:04 -0600 Subject: [PATCH] bug fixes --- Sources/App/Controllers/StatsController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 7050d83..8892f25 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -691,7 +691,7 @@ struct StatsController: RouteCollection { let matches = Match.query(on: db).sort( \.$date).all() - return matches.and(hyderStats).and(statsFor2020).and(statsFor2021).and(casualOverall).and(bocwCasual).and(vgCasual).map { arg -> ([String:Stats]) in + return matches.and(hyderStats).and(statsFor2020).and(statsFor2021).and(casualOverall).and(bocwCasual).and(vgCasual).and(mw2Casual).map { arg -> ([String:Stats]) in let ((((((matches, hyderStats), statsFor2020), statsFor2021), casualOverall), bocwCasual), vgCasual) = arg