diff options
| author | Bond_009 <bond.009@outlook.com> | 2024-07-29 21:57:11 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2024-07-29 21:57:11 +0200 |
| commit | 63b90ab45ca8c4d85e1930f241ce24a9bff531eb (patch) | |
| tree | 5d5b7501227d133b05c0b1965c588ac7d6482fbc | |
| parent | 2b3ebb0751e752eeb3b1d5baadf3086a09b867d6 (diff) | |
Fix build
| -rw-r--r-- | Jellyfin.Api/Controllers/LiveTvController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs index 0cf36f57e..6c3d01103 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -688,7 +688,7 @@ public class LiveTvController : BaseJellyfinApiController } } - var dtoOptions = new DtoOptions { Fields = body.Fields } + var dtoOptions = new DtoOptions { Fields = body.Fields ?? [] } .AddClientFields(User) .AddAdditionalDtoOptions(body.EnableImages, body.EnableUserData, body.ImageTypeLimit, body.EnableImageTypes ?? []); return await _liveTvManager.GetPrograms(query, dtoOptions, CancellationToken.None).ConfigureAwait(false); |
