fix(title): fix title route crash
was due to non-existance of genres on "more like this" for some titles closes https://github.com/zyachel/libremdb/issues/61
This commit is contained in:
@ -138,7 +138,7 @@ export default interface RawTitle {
|
||||
value: string;
|
||||
language: string;
|
||||
};
|
||||
mimeType: string;
|
||||
mimeType?: string;
|
||||
url: string;
|
||||
}>;
|
||||
previewURLs: Array<{
|
||||
@ -516,7 +516,7 @@ export default interface RawTitle {
|
||||
canRate: {
|
||||
isRatable: boolean;
|
||||
};
|
||||
titleGenres: {
|
||||
titleGenres?: {
|
||||
genres: Array<{
|
||||
genre: {
|
||||
text: string;
|
||||
|
Reference in New Issue
Block a user