diff --git a/anilist.go b/anilist.go index 2aca37e..b0d15bb 100644 --- a/anilist.go +++ b/anilist.go @@ -9,13 +9,13 @@ import ( ) func GetAnimeListByAnimeID() (map[anilist.MediaID]*anilist.MediaList, error) { - watchingAnimesChannel, err := GetCurrentlyWatchingAnimes() + animeListChannel, err := GetCurrentlyWatchingAnimes(AllMediaListStatuses...) if err != nil { return nil, err } toMapFunc := func(entry *anilist.MediaList) (anilist.MediaID, *anilist.MediaList) { return entry.MediaID, entry } - return channel.ToMap(watchingAnimesChannel, toMapFunc), nil + return channel.ToMap(animeListChannel, toMapFunc), nil } func GetCurrentlyWatchingAnimes(statuses ...anilist.MediaListStatus) (<-chan *anilist.MediaList, error) {