Skip to content

Commit 87edfbe

Browse files
authored
fix: omit character deaths_truncated if false (#464)
1 parent 57742e6 commit 87edfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TibiaCharactersCharacter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ type Character struct {
108108
AccountBadges []AccountBadges `json:"account_badges,omitempty"` // The account's badges.
109109
Achievements []Achievements `json:"achievements,omitempty"` // The character's achievements.
110110
Deaths []Deaths `json:"deaths,omitempty"` // The character's deaths.
111-
DeathsTruncated bool `json:"deaths_truncated"` // Whether the character's deaths were truncated or not.
111+
DeathsTruncated bool `json:"deaths_truncated,omitempty"` // Whether the character's deaths were truncated or not.
112112
AccountInformation AccountInformation `json:"account_information,omitempty"` // The account information.
113113
OtherCharacters []OtherCharacters `json:"other_characters,omitempty"` // The account's other characters.
114114
}

0 commit comments

Comments
 (0)