mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 07:21:49 +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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user