diff options
Diffstat (limited to 'user/anime')
-rw-r--r-- | user/anime/animelist.go | 2 | ||||
-rw-r--r-- | user/anime/animelist.structs.go | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/user/anime/animelist.go b/user/anime/animelist.go index 6516184..b27efc0 100644 --- a/user/anime/animelist.go +++ b/user/anime/animelist.go @@ -77,7 +77,7 @@ func (c Client) GetAnimeList(user, status, sort string, limit, offset int) (a.An var animes []a.Anime for _, element := range animeListData.Data { a := element.Anime - a.MyListStatus = element.ListStatus + a.ListStatus = element.ListStatus animes = append(animes, a) } diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go index 31296fa..80eb01a 100644 --- a/user/anime/animelist.structs.go +++ b/user/anime/animelist.structs.go @@ -17,7 +17,6 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/util" "github.com/MikunoNaka/MAL2Go/anime" ) @@ -26,7 +25,7 @@ type AnimeListRaw struct { Anime anime.Anime `json:"node"` ListStatus anime.ListStatus `json:"list_status"` } `json:"data"` - Paging util.ListPaging `json:"paging"` + Paging anime.ListPaging `json:"paging"` } type UpdateAnimeData struct { |