Try to fix NRE on queue resource custom formats

pull/6682/head
ta264 3 years ago committed by Qstick
parent a774ccf426
commit bb4c1d6181

@ -52,7 +52,7 @@ namespace Radarr.Api.V3.Queue
Movie = includeMovie && model.Movie != null ? model.Movie.ToResource(0) : null, Movie = includeMovie && model.Movie != null ? model.Movie.ToResource(0) : null,
Languages = model.Languages, Languages = model.Languages,
Quality = model.Quality, Quality = model.Quality,
CustomFormats = model.RemoteMovie?.CustomFormats.ToResource(), CustomFormats = model.RemoteMovie?.CustomFormats?.ToResource(),
Size = model.Size, Size = model.Size,
Title = model.Title, Title = model.Title,
Sizeleft = model.Sizeleft, Sizeleft = model.Sizeleft,

Loading…
Cancel
Save