mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 19:09:06 +01:00
Fix wrong targeted episode on GoMovies
This commit is contained in:
parent
c744d3bc7d
commit
3103ecd004
@ -103,7 +103,7 @@ registerProvider({
|
||||
)?.number;
|
||||
|
||||
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user