diff options
-rw-r--r-- | anime/anime.go | 3 | ||||
-rw-r--r-- | manga/manga.structs.go | 22 |
2 files changed, 13 insertions, 12 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 } diff --git a/manga/manga.structs.go b/manga/manga.structs.go index e863d00..6c5d570 100644 --- a/manga/manga.structs.go +++ b/manga/manga.structs.go @@ -45,17 +45,17 @@ type ListStatus struct { } type Manga struct { - Id int `json:"id"` - Title string `json:"title"` - MainPicture util.Picture `json:"main_picture"` - AltTitles util.AltTitles `json:"alternative_titles"` - StartDate string `json:"start_date"` - EndDate string `json:"end_date"` - Synopsis string `json:"synopsis"` - MeanScore float32 `json:"mean"` - Rank int `json:"rank"` - Popularity int `json:"popularity"` - NumListUsers int `json:"num_list_users"` + Id int `json:"id"` + Title string `json:"title"` + MainPicture util.Picture `json:"main_picture"` + AltTitles util.AltTitles `json:"alternative_titles"` + StartDate string `json:"start_date"` + EndDate string `json:"end_date"` + Synopsis string `json:"synopsis"` + MeanScore float32 `json:"mean"` + Rank int `json:"rank"` + Popularity int `json:"popularity"` + NumListUsers int `json:"num_list_users"` NsfwStatus string `json:"nsfw"` Genres []util.Genre `json:"genres"` CreatedAt string `json:"created_at"` |