1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

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;
}
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;