fix(title): fix title page crash

due to upstream change in data, title page was broken. this commit fixes thate

BREAKING CHANGE: older versions won't work, at least for title route
This commit is contained in:
zyachel
2023-04-15 20:49:28 +05:30
parent cbce2cac34
commit 8ce02d0236
2 changed files with 17 additions and 33 deletions

View File

@ -516,9 +516,11 @@ export default interface RawTitle {
canRate: {
isRatable: boolean;
};
titleCardGenres: {
titleGenres: {
genres: Array<{
text: string;
genre: {
text: string;
};
}>;
};
canHaveEpisodes: boolean;