fixed vac date displaying without being set

This commit is contained in:
2021-10-16 01:47:50 +02:00
parent af2523a78a
commit 6be155bc96
2 changed files with 3 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ type PlayerResponse struct {
Name string `json:"name"`
Avatar string `json:"avatar"`
VAC bool `json:"vac"`
VACDate time.Time `json:"vac_date,omitempty"`
VACDate *time.Time `json:"vac_date,omitempty"`
Tracked bool `json:"tracked"`
VanityURL string `json:"vanity_url,omitempty"`
MatchStats MatchStats `json:"match_stats,omitempty"`