From fe0d2c91a415d84675ebfad071bdb64d8e6bfc37 Mon Sep 17 00:00:00 2001 From: William Oldham Date: Sat, 20 Apr 2024 10:51:37 +0100 Subject: [PATCH] Fix linting errors --- src/backend/metadata/getmeta.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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;