From 0d249a3e27fee182b33980c72837804fa5579a13 Mon Sep 17 00:00:00 2001 From: castdrian Date: Thu, 15 Jun 2023 22:13:19 +0200 Subject: [PATCH] fix typo 'cause I can't type --- src/backend/metadata/getmeta.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/metadata/getmeta.ts b/src/backend/metadata/getmeta.ts index 41e67772..a5246fcf 100644 --- a/src/backend/metadata/getmeta.ts +++ b/src/backend/metadata/getmeta.ts @@ -43,7 +43,7 @@ export interface DetailedMeta { tmdbId?: string; } -export function fromatTMDBMetaResult( +export function formatTMDBMetaResult( details: TMDBShowData | TMDBMovieData, type: MWMediaType ): TMDBMediaResult | undefined { @@ -114,7 +114,7 @@ export async function getMetaFromId( } } - const tmdbmeta = fromatTMDBMetaResult(details, type); + const tmdbmeta = formatTMDBMetaResult(details, type); if (!tmdbmeta) return null; const meta = formatTMDBMeta(tmdbmeta, seasonData); if (!meta) return null;