fixed round return
This commit is contained in:
6
main.go
6
main.go
@@ -215,7 +215,8 @@ func getPlayer(w http.ResponseWriter, r *http.Request) {
|
||||
Score: [2]int{iMatch.ScoreTeamA, iMatch.ScoreTeamB},
|
||||
Duration: iMatch.Duration,
|
||||
MatchResult: iMatch.MatchResult,
|
||||
Rounds: iMatch.MaxRounds,
|
||||
MaxRounds: iMatch.MaxRounds,
|
||||
Rounds: iMatch.Rounds,
|
||||
Parsed: iMatch.DemoParsed,
|
||||
Stats: []*StatsResponse{},
|
||||
}
|
||||
@@ -351,7 +352,8 @@ func getMatch(w http.ResponseWriter, r *http.Request) {
|
||||
Score: [2]int{tMatch.ScoreTeamA, tMatch.ScoreTeamB},
|
||||
Duration: tMatch.Duration,
|
||||
MatchResult: tMatch.MatchResult,
|
||||
Rounds: tMatch.MaxRounds,
|
||||
MaxRounds: tMatch.MaxRounds,
|
||||
Rounds: tMatch.Rounds,
|
||||
Parsed: tMatch.DemoParsed,
|
||||
Stats: []*StatsResponse{},
|
||||
}
|
||||
|
Reference in New Issue
Block a user