Skip to content

Commit 13d7259

Browse files
authored
fix WarClan struct
Field "Members" was changed to slice of ClanWarMember
1 parent ca6b6eb commit 13d7259

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

clans.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ type ClanWarLogEntry struct {
172172
}
173173

174174
type WarClan struct {
175-
DestructionPercentage float64 `json:"destructionPercentage"`
176-
Tag string `json:"tag"`
177-
Name string `json:"name"`
178-
BadgeURLs ImageURLs `json:"badgeUrls"`
179-
ClanLevel int `json:"clanLevel"`
180-
Attacks int `json:"attacks"`
181-
Stars int `json:"stars"`
182-
ExpEarned int `json:"expEarned"`
183-
Members ClanWarMember `json:"members"`
175+
DestructionPercentage float64 `json:"destructionPercentage"`
176+
Tag string `json:"tag"`
177+
Name string `json:"name"`
178+
BadgeURLs ImageURLs `json:"badgeUrls"`
179+
ClanLevel int `json:"clanLevel"`
180+
Attacks int `json:"attacks"`
181+
Stars int `json:"stars"`
182+
ExpEarned int `json:"expEarned"`
183+
Members []ClanWarMember `json:"members"`
184184
}
185185

186186
type ClanWarMember struct {

0 commit comments

Comments
 (0)