diff --git a/api/src/controllers/shows/logic.ts b/api/src/controllers/shows/logic.ts index 5b37f15d..75353bf9 100644 --- a/api/src/controllers/shows/logic.ts +++ b/api/src/controllers/shows/logic.ts @@ -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 }), diff --git a/api/tests/movies/get-all-movies-with-null.test.ts b/api/tests/movies/get-all-movies-with-null.test.ts index 5e03cb56..30d5932f 100644 --- a/api/tests/movies/get-all-movies-with-null.test.ts +++ b/api/tests/movies/get-all-movies-with-null.test.ts @@ -41,6 +41,7 @@ describe("with a null value", () => { airDate: null, originalLanguage: null, externalId: {}, + studios: [], }); });