mirror of
https://github.com/movie-web/movie-web.git
synced 2025-09-13 17:53:23 +00:00
netfilm default season 1 if none exists
This commit is contained in:
@@ -69,7 +69,7 @@ registerProvider({
|
|||||||
.map((v: any) => {
|
.map((v: any) => {
|
||||||
return {
|
return {
|
||||||
...v,
|
...v,
|
||||||
season: parseInt(v.name.split(" ").at(-1), 10),
|
season: parseInt(v.name.split(" ").at(-1), 10) || 1,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user