mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-20 18:02:44 +01:00
parent
3aeb52c3fd
commit
e5ccc32a37
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user