expanded anilist user type

This commit is contained in:
2024-07-30 20:35:21 -04:00
parent 8c61c5e96b
commit 54d5932d8a
2 changed files with 14 additions and 2 deletions

View File

@ -10,8 +10,14 @@ type AniListJWT struct {
type AniListUser struct {
Data struct {
Viewer struct {
ID int `json:"id"`
Name string `json:"name"`
ID int `json:"id"`
Name string `json:"name"`
Avatar struct {
Large string `json:"large"`
Medium string `json:"medium"`
} `json:"avatar"`
BannerImage string `json:"bannerImage"`
SiteUrl string `json:"siteUrl"`
} `json:"Viewer"`
} `json:"data"`
}