diff --git a/src/backend/metadata/getmeta.ts b/src/backend/metadata/getmeta.ts index 3da79ac2..cfb34b91 100644 --- a/src/backend/metadata/getmeta.ts +++ b/src/backend/metadata/getmeta.ts @@ -135,13 +135,15 @@ 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;