From cf32370298596c8d83c31f792fa66672366f2768 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 11 Mar 2022 20:19:07 +0530 Subject: Bug Fix: GetSuggestedAnime max limit was set to 500 but it is actually 100 --- anime/anime.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'anime/anime.go') diff --git a/anime/anime.go b/anime/anime.go index 4247381..7e968ea 100644 --- a/anime/anime.go +++ b/anime/anime.go @@ -214,7 +214,8 @@ func (c Client) GetSuggestedAnime(limit, offset int, fields []string) (Suggested var suggestedAnime SuggestedAnime // error handling for limit - limitErr := e.LimitErrHandler(limit, maxAnimeLimit) + // limit for this is 100 unlike others in the current package + limitErr := e.LimitErrHandler(limit, 100) if limitErr != nil { return suggestedAnime, limitErr } -- cgit v1.2.3