mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 17:31:50 +01:00
fix typo 'cause I can't type
This commit is contained in:
parent
4d51de3bd1
commit
0d249a3e27
@ -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