fix typo 'cause I can't type

This commit is contained in:
castdrian 2023-06-15 22:13:19 +02:00 committed by Adrian Castro
parent 4d51de3bd1
commit 0d249a3e27

View File

@ -43,7 +43,7 @@ export interface DetailedMeta {
tmdbId?: string; tmdbId?: string;
} }
export function fromatTMDBMetaResult( export function formatTMDBMetaResult(
details: TMDBShowData | TMDBMovieData, details: TMDBShowData | TMDBMovieData,
type: MWMediaType type: MWMediaType
): TMDBMediaResult | undefined { ): TMDBMediaResult | undefined {
@ -114,7 +114,7 @@ export async function getMetaFromId(
} }
} }
const tmdbmeta = fromatTMDBMetaResult(details, type); const tmdbmeta = formatTMDBMetaResult(details, type);
if (!tmdbmeta) return null; if (!tmdbmeta) return null;
const meta = formatTMDBMeta(tmdbmeta, seasonData); const meta = formatTMDBMeta(tmdbmeta, seasonData);
if (!meta) return null; if (!meta) return null;