aboutsummaryrefslogtreecommitdiff
path: root/manga
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 00:39:10 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 00:39:10 +0530
commit0edca3b2faf545abc065de55a94b87a10ac3f405 (patch)
tree848aee5cd075f882ca61c9db28f82346db2f702c /manga
parenta815c4ea4aa829dedd2cff7f403788896ee0887d (diff)
renamed MyListStatus to ListStatus
Diffstat (limited to 'manga')
-rw-r--r--manga/manga.go2
-rw-r--r--manga/manga.structs.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/manga/manga.go b/manga/manga.go
index 35b3a3d..0fd7853 100644
--- a/manga/manga.go
+++ b/manga/manga.go
@@ -28,7 +28,7 @@ import (
const BASE_URL string = "https://api.myanimelist.net/v2/manga"
// MAL Might change this
-const maxMangaLimit int = 100
+const maxMangaLimit int = 500
// in MAL documentation this is named Get Manga List
func (c Client) SearchManga(searchString string, limit, offset int, fields []string) (MangaSearch, error) {
diff --git a/manga/manga.structs.go b/manga/manga.structs.go
index b9748c4..7c33c2b 100644
--- a/manga/manga.structs.go
+++ b/manga/manga.structs.go
@@ -53,7 +53,7 @@ type Manga struct {
UpdatedAt string `json:"updated_at"`
MediaType string `json:"media_type"`
Status string `json:"status"`
- MyListStattus ListStatus `json:"my_list_status"`
+ ListStatus ListStatus `json:"my_list_status"`
NumVolumes int `json:"num_volumes"`
NumChapters int `json:"num_chapters"`
Authors []Author `json:"authors"`