fixed GetAnimeListByAnimeID
This commit is contained in:
parent
6abd63d6e0
commit
da15313c21
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user