mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 08:19:38 +02:00
Try to fix NRE on queue resource custom formats
This commit is contained in:
parent
a774ccf426
commit
bb4c1d6181
@ -52,7 +52,7 @@ public static QueueResource ToResource(this NzbDrone.Core.Queue.Queue model, boo
|
||||
Movie = includeMovie && model.Movie != null ? model.Movie.ToResource(0) : null,
|
||||
Languages = model.Languages,
|
||||
Quality = model.Quality,
|
||||
CustomFormats = model.RemoteMovie?.CustomFormats.ToResource(),
|
||||
CustomFormats = model.RemoteMovie?.CustomFormats?.ToResource(),
|
||||
Size = model.Size,
|
||||
Title = model.Title,
|
||||
Sizeleft = model.Sizeleft,
|
||||
|
Loading…
Reference in New Issue
Block a user