1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 18:02:44 +01:00

Fixed: Movie status after using movie editor

Fixes #9681
This commit is contained in:
Bogdan 2024-01-24 08:20:02 +02:00
parent 3aeb52c3fd
commit e5ccc32a37

View File

@ -55,7 +55,7 @@ public MovieResource()
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 @@ public static Movie ToModel(this MovieResource resource)
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;
} }