Fixed: Movie status after using movie editor

Fixes #9681
pull/9683/head
Bogdan 10 months ago
parent 3aeb52c3fd
commit e5ccc32a37

@ -55,7 +55,7 @@ namespace Radarr.Api.V3.Movies
public int QualityProfileId { get; set; } public int QualityProfileId { get; set; }
// Compatibility // Compatibility
public bool HasFile { get; set; } public bool? HasFile { get; set; }
// Editing Only // Editing Only
public bool Monitored { get; set; } public bool Monitored { get; set; }
@ -198,9 +198,9 @@ namespace Radarr.Api.V3.Movies
public static Movie ToModel(this MovieResource resource, Movie movie) public static Movie ToModel(this MovieResource resource, Movie movie)
{ {
var updatedmovie = resource.ToModel(); var updatedMovie = resource.ToModel();
movie.ApplyChanges(updatedmovie); movie.ApplyChanges(updatedMovie);
return movie; return movie;
} }

Loading…
Cancel
Save