mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 03:35:07 +01:00
Fix wrong targeted episode on GoMovies
This commit is contained in:
parent
c744d3bc7d
commit
3103ecd004
@ -103,7 +103,7 @@ registerProvider({
|
|||||||
)?.number;
|
)?.number;
|
||||||
|
|
||||||
const targetEpisode = episodesData.find((ep) =>
|
const targetEpisode = episodesData.find((ep) =>
|
||||||
ep.number ? +ep.number : ep.number === episodeNumber
|
ep.number ? +ep.number === episodeNumber : false
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!targetEpisode?.dataId) throw new Error("Episode not found");
|
if (!targetEpisode?.dataId) throw new Error("Episode not found");
|
||||||
|
Loading…
Reference in New Issue
Block a user