aboutsummaryrefslogtreecommitdiff
path: root/manga_types.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-19 13:49:35 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-19 13:49:35 +0530
commit6856164d8959acc218d29e57f5456119cae01e9e (patch)
tree4b8367c6bb66e5ff2e3cd5fa1c160d10362ff777 /manga_types.go
parent33283bff8b1ae239036aeb1526ec3b7483767ed7 (diff)
Bug Fix: getting author detailsv0.0.6
Diffstat (limited to 'manga_types.go')
-rw-r--r--manga_types.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/manga_types.go b/manga_types.go
index d4c44a6..85a2af8 100644
--- a/manga_types.go
+++ b/manga_types.go
@@ -69,9 +69,12 @@ type MangaRecommendation struct {
}
type Author struct {
- Id int `json:"id"`
- FirstName string `json:"first_name"`
- LastName string `json:"last_name"`
+ Details struct {
+ Id int `json:"id"`
+ FirstName string `json:"first_name"`
+ LastName string `json:"last_name"`
+ } `json:"node"`
+ Role string `json:"role"`
}
type MangaListStatus struct {