diff --git a/anilist.go b/anilist.go index b0d15bb..1d72715 100644 --- a/anilist.go +++ b/anilist.go @@ -8,8 +8,8 @@ import ( "git.milar.in/nyaanime/model" ) -func GetAnimeListByAnimeID() (map[anilist.MediaID]*anilist.MediaList, error) { - animeListChannel, err := GetCurrentlyWatchingAnimes(AllMediaListStatuses...) +func GetAnimeListByAnimeID(statuses []anilist.MediaListStatus) (map[anilist.MediaID]*anilist.MediaList, error) { + animeListChannel, err := GetCurrentlyWatchingAnimes(statuses...) if err != nil { return nil, err }