From 7838adbd87577f1d315ec355730476fb6ce68d2f Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Mon, 22 Apr 2024 14:22:46 -0400 Subject: [PATCH] I hate ESlint --- src/backend/metadata/getmeta.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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;