fix #1044
This commit is contained in:
parent
620e3d55d1
commit
ecab2b63c9
@ -394,7 +394,7 @@ def arr_add_movie(apikey: str,
|
|||||||
year=movie.year,
|
year=movie.year,
|
||||||
mtype=MediaType.MOVIE,
|
mtype=MediaType.MOVIE,
|
||||||
tmdbid=movie.tmdbId,
|
tmdbid=movie.tmdbId,
|
||||||
userid="Seerr")
|
username="Seerr")
|
||||||
if sid:
|
if sid:
|
||||||
return {
|
return {
|
||||||
"id": sid
|
"id": sid
|
||||||
@ -737,7 +737,7 @@ def arr_add_series(apikey: str, tv: schemas.SonarrSeries,
|
|||||||
season=season.get("seasonNumber"),
|
season=season.get("seasonNumber"),
|
||||||
tmdbid=tv.tmdbId,
|
tmdbid=tv.tmdbId,
|
||||||
mtype=MediaType.TV,
|
mtype=MediaType.TV,
|
||||||
userid="Seerr")
|
username="Seerr")
|
||||||
|
|
||||||
if sid:
|
if sid:
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user