diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-03-11 20:19:07 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-03-11 20:19:07 +0530 |
commit | cf32370298596c8d83c31f792fa66672366f2768 (patch) | |
tree | a204cd1b4caab585ba7464130af0e3140edda6a8 /anime | |
parent | 6eb07bc323e04785b5031c8332643b243d63f073 (diff) |
Bug Fix: GetSuggestedAnime max limit was set to 500 but it is actually 100
Diffstat (limited to 'anime')
-rw-r--r-- | anime/anime.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |