diff options
| author | Bond_009 <bond.009@outlook.com> | 2024-04-25 12:42:10 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2024-07-29 21:05:40 +0200 |
| commit | 2b3ebb0751e752eeb3b1d5baadf3086a09b867d6 (patch) | |
| tree | 15b4fea855bf9399d850f829d4a6a3c34261aa39 /Jellyfin.Api/Extensions | |
| parent | eeb8c59ff27307b5edd8e056a9ef7d451dbddd04 (diff) | |
Enable nullable for DtoService and DtoOptions
Diffstat (limited to 'Jellyfin.Api/Extensions')
| -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 |
