From 6856164d8959acc218d29e57f5456119cae01e9e Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 19 Sep 2023 13:49:35 +0530 Subject: Bug Fix: getting author details --- manga_types.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'manga_types.go') 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 { -- cgit v1.2.3