Fix manga description page
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
This commit is contained in:
parent
e2e845b9c0
commit
4d4b7126e2
@ -50,6 +50,7 @@ query ($slug: String!) {
|
||||
startCursor
|
||||
}
|
||||
}
|
||||
description
|
||||
startDate
|
||||
endDate
|
||||
episodeCount
|
||||
@ -107,7 +108,6 @@ query ($slug: String!) {
|
||||
}
|
||||
}
|
||||
subtype
|
||||
description
|
||||
titles {
|
||||
alternatives
|
||||
canonical
|
||||
|
@ -50,6 +50,7 @@ query ($id: ID!) {
|
||||
startCursor
|
||||
}
|
||||
}
|
||||
description
|
||||
startDate
|
||||
endDate
|
||||
episodeCount
|
||||
@ -95,7 +96,6 @@ query ($id: ID!) {
|
||||
}
|
||||
status
|
||||
subtype
|
||||
synopsis
|
||||
titles {
|
||||
alternatives
|
||||
canonical
|
||||
|
@ -51,6 +51,7 @@ query ($slug: String!) {
|
||||
startCursor
|
||||
}
|
||||
}
|
||||
description
|
||||
startDate
|
||||
endDate
|
||||
posterImage {
|
||||
@ -106,7 +107,6 @@ query ($slug: String!) {
|
||||
}
|
||||
status
|
||||
subtype
|
||||
synopsis
|
||||
titles {
|
||||
canonical
|
||||
canonicalLocale
|
||||
|
@ -51,6 +51,7 @@ query ($id: ID!) {
|
||||
startCursor
|
||||
}
|
||||
}
|
||||
description
|
||||
startDate
|
||||
endDate
|
||||
posterImage {
|
||||
@ -106,7 +107,6 @@ query ($id: ID!) {
|
||||
}
|
||||
status
|
||||
subtype
|
||||
synopsis
|
||||
titles {
|
||||
canonical
|
||||
canonicalLocale
|
||||
|
@ -112,7 +112,7 @@ final class MangaTransformer extends AbstractTransformer {
|
||||
'id' => $base['id'],
|
||||
'staff' => $staff,
|
||||
'status' => Kitsu::getPublishingStatus($base['status'], $base['startDate'], $base['endDate']),
|
||||
'synopsis' => $base['synopsis']['en'],
|
||||
'synopsis' => $base['description']['en'],
|
||||
'title' => $title,
|
||||
'titles' => $titles,
|
||||
'titles_more' => $titles_more,
|
||||
|
Loading…
Reference in New Issue
Block a user