diff --git a/src/backend/metadata/getmeta.ts b/src/backend/metadata/getmeta.ts index cfb34b91..3da79ac2 100644 --- a/src/backend/metadata/getmeta.ts +++ b/src/backend/metadata/getmeta.ts @@ -135,15 +135,13 @@ export async function getLegacyMetaFromId( throw err; } - let imdbId = data.external_ids.find( - (v) => v.provider === "imdb_latest", - )?.external_id; + let imdbId = data.external_ids.find((v) => v.provider === "imdb_latest") + ?.external_id; if (!imdbId) imdbId = data.external_ids.find((v) => v.provider === "imdb")?.external_id; - let tmdbId = data.external_ids.find( - (v) => v.provider === "tmdb_latest", - )?.external_id; + let tmdbId = data.external_ids.find((v) => v.provider === "tmdb_latest") + ?.external_id; if (!tmdbId) tmdbId = data.external_ids.find((v) => v.provider === "tmdb")?.external_id;