Try to fix NRE on queue resource custom formats

This commit is contained in:
ta264 2021-10-21 21:04:27 +01:00 committed by Qstick
parent a774ccf426
commit bb4c1d6181
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace Radarr.Api.V3.Queue
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,