fixed GetAnimeListByAnimeID
This commit is contained in:
parent
6abd63d6e0
commit
da15313c21
@ -8,8 +8,8 @@ import (
|
|||||||
"git.milar.in/nyaanime/model"
|
"git.milar.in/nyaanime/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetAnimeListByAnimeID() (map[anilist.MediaID]*anilist.MediaList, error) {
|
func GetAnimeListByAnimeID(statuses []anilist.MediaListStatus) (map[anilist.MediaID]*anilist.MediaList, error) {
|
||||||
animeListChannel, err := GetCurrentlyWatchingAnimes(AllMediaListStatuses...)
|
animeListChannel, err := GetCurrentlyWatchingAnimes(statuses...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user