mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 02:25:08 +01:00
fix typo 'cause I can't type
This commit is contained in:
parent
330cbf2d9e
commit
d961655186
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user