From 4cd75179ef8ec3172d78c27bd67c3e2650370690 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 1 Apr 2025 11:21:56 +0200 Subject: [PATCH] fix: omit character deaths_truncated if false --- src/TibiaCharactersCharacter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TibiaCharactersCharacter.go b/src/TibiaCharactersCharacter.go index 984d19e..b301bab 100644 --- a/src/TibiaCharactersCharacter.go +++ b/src/TibiaCharactersCharacter.go @@ -108,7 +108,7 @@ type Character struct { AccountBadges []AccountBadges `json:"account_badges,omitempty"` // The account's badges. Achievements []Achievements `json:"achievements,omitempty"` // The character's achievements. Deaths []Deaths `json:"deaths,omitempty"` // The character's deaths. - DeathsTruncated bool `json:"deaths_truncated"` // Whether the character's deaths were truncated or not. + DeathsTruncated bool `json:"deaths_truncated,omitempty"` // Whether the character's deaths were truncated or not. AccountInformation AccountInformation `json:"account_information,omitempty"` // The account information. OtherCharacters []OtherCharacters `json:"other_characters,omitempty"` // The account's other characters. }