Fix typescript compilation

This commit is contained in:
Zoe Roux 2025-03-02 22:27:41 +01:00
parent 31d95d7fd7
commit 1cc26c5985
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,7 @@ export async function getShow(
const show = {
...ret,
...translation,
kind: ret.kind as any,
...(ot?.preferOriginal && {
...(ot.poster && { poster: ot.poster }),
...(ot.thumbnail && { thumbnail: ot.thumbnail }),

View File

@ -41,6 +41,7 @@ describe("with a null value", () => {
airDate: null,
originalLanguage: null,
externalId: {},
studios: [],
});
});