Added highest win loss ratio

This commit is contained in:
Michael Simard
2020-06-16 13:07:00 -05:00
parent 8c14a54781
commit 40e23960f1
2 changed files with 67 additions and 18 deletions

View File

@@ -14,10 +14,12 @@ import Vapor
final class AllStats: Content {
var overall:Stats
var byMonth: [MonthStats]
var highestWinLossRatio:String
init( overall:Stats, byMonth:[MonthStats]) {
init( overall:Stats, byMonth:[MonthStats], highestWinLossRatio:String) {
self.overall = overall
self.byMonth = byMonth
self.highestWinLossRatio = highestWinLossRatio
}
}