From b20ed57d3ca8a88c32ee0cb48bed339bce5915d6 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 15 Aug 2023 15:13:21 +0530 Subject: fixed errors due to mg --- mal/list.go | 2 +- mal/seasonals.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mal') diff --git a/mal/list.go b/mal/list.go index f00edd9..0430dc7 100644 --- a/mal/list.go +++ b/mal/list.go @@ -46,7 +46,7 @@ func AnimeList(user, status, sort string) []mg.Anime { } // TODO: return all the list items using loop -func MangaList(user, status, sort string) []m.Manga { +func MangaList(user, status, sort string) []mg.Manga { var res []mg.Manga _, err := MALClient.GetMangaList(&res, &mg.ListParams{ Username: user, diff --git a/mal/seasonals.go b/mal/seasonals.go index 29cfea6..d2cb420 100644 --- a/mal/seasonals.go +++ b/mal/seasonals.go @@ -25,7 +25,7 @@ import ( "strconv" ) -func GetSeasonalAnime(season a.Season, sort string) []mg.Anime { +func GetSeasonalAnime(season mg.Season, sort string) []mg.Anime { var res []mg.Anime err := MALClient.GetSeasonalAnime(&res, &mg.SeasonalParams{ Year: strconv.Itoa(season.Year), -- cgit v1.2.3