mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 06:11:53 +01:00
Merge pull request #383 from movie-web/fix-ep
Fix wrong targeted episode on GoMovies
This commit is contained in:
commit
65c7a461d7
@ -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…
Reference in New Issue
Block a user