Fix manga description page

This commit is contained in:
Timothy Warren 2020-08-17 11:36:01 -04:00
parent 79aee53524
commit 67d3b7c1dc
5 changed files with 5 additions and 5 deletions

View File

@ -50,6 +50,7 @@ query ($slug: String!) {
startCursor
}
}
description
startDate
endDate
episodeCount
@ -107,7 +108,6 @@ query ($slug: String!) {
}
}
subtype
description
titles {
alternatives
canonical

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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,