mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +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;
|
)?.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 a new issue