mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix wrong targeted episode on GoMovies
This commit is contained in:
parent
c744d3bc7d
commit
3103ecd004
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue