fix(title): fix a crash in title route
This commit is contained in:
parent
b07cb713d8
commit
21a1c83d95
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ const cleanTitle = (rawData: RawTitle) => {
|
||||||
startText: misc.connections.edges[0].node.category.text,
|
startText: misc.connections.edges[0].node.category.text,
|
||||||
title: {
|
title: {
|
||||||
id: misc.connections.edges[0].node.associatedTitle.id,
|
id: misc.connections.edges[0].node.associatedTitle.id,
|
||||||
year: misc.connections.edges[0].node.associatedTitle.releaseYear.year,
|
year: misc.connections.edges[0].node.associatedTitle.releaseYear?.year ?? null,
|
||||||
text: misc.connections.edges[0].node.associatedTitle.titleText.text,
|
text: misc.connections.edges[0].node.associatedTitle.titleText.text,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue