From da15313c21f82985527bc6d962103651f4c664a9 Mon Sep 17 00:00:00 2001 From: milarin Date: Wed, 18 Jan 2023 10:25:07 +0100 Subject: [PATCH] fixed GetAnimeListByAnimeID --- anilist.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }