1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

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

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,