diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-07-29 22:19:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 22:19:37 +0200 |
| commit | 5d0c5fd40d3f91d12767b72d4e724f6fdda0dc79 (patch) | |
| tree | eb475bd84b50b0a19cb135ad73379d5956523b03 /Jellyfin.Api/Extensions/DtoExtensions.cs | |
| parent | 57f95bdc32aa77e32c5ddf35932ea7e319c5afcd (diff) | |
| parent | 63b90ab45ca8c4d85e1930f241ce24a9bff531eb (diff) | |
Merge pull request #11432 from Bond-009/dtonullable
Enable nullable for DtoService and DtoOptions
Diffstat (limited to 'Jellyfin.Api/Extensions/DtoExtensions.cs')
| -rw-r--r-- | Jellyfin.Api/Extensions/DtoExtensions.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Jellyfin.Api/Extensions/DtoExtensions.cs b/Jellyfin.Api/Extensions/DtoExtensions.cs index 3d17dbda1..f52b58bab 100644 --- a/Jellyfin.Api/Extensions/DtoExtensions.cs +++ b/Jellyfin.Api/Extensions/DtoExtensions.cs @@ -26,8 +26,6 @@ public static class DtoExtensions internal static DtoOptions AddClientFields( this DtoOptions dtoOptions, ClaimsPrincipal user) { - dtoOptions.Fields ??= Array.Empty<ItemFields>(); - string? client = user.GetClient(); // No client in claim |
