Skip to content

Commit 23c27f5

Browse files
committed
fix Wingman to nullable
1 parent 9459223 commit 23c27f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

match.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package got5
55
// MatchZy(source): https://github.com/shobhit-pathak/MatchZy/blob/ae597e50756f8ed8380e4cbacec4a4c1eb9013da/MatchManagement.cs#L254
66

77
type Match struct {
8-
MatchID *int `json:"matchid,omitempty"` // originally string in get5 but MatchZy uses int
8+
MatchID *int `json:"matchid,omitempty"`
99
ClinchSeries *bool `json:"clinch_series,omitempty"`
1010
NumMaps int `json:"num_maps"`
11-
Wingman bool `json:"wingman,omitempty"`
11+
Wingman *bool `json:"wingman,omitempty"`
1212
PlayersPerTeam *int `json:"players_per_team,omitempty"`
1313
MinPlayersToReady *int `json:"min_players_to_ready,omitempty"`
1414
MinSpectatorsToReady *int `json:"min_spectators_to_ready,omitempty"`

0 commit comments

Comments
 (0)