mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +01:00
netfilm default season 1 if none exists
This commit is contained in:
parent
52fef27374
commit
b1333cfc16
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue