aboutsummaryrefslogtreecommitdiff
path: root/mal
diff options
context:
space:
mode:
Diffstat (limited to 'mal')
-rw-r--r--mal/list.go2
-rw-r--r--mal/seasonals.go2
2 files changed, 2 insertions, 2 deletions
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),