aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2024-03-27 22:36:30 +0100
committerGitHub <noreply@github.com>2024-03-27 15:36:30 -0600
commit8d02c45e6c679814d1f61577dc0d78688cc0ed45 (patch)
tree9e2fb0e8b4027941fdccf07811bd59e0d3cb99e7 /Jellyfin.Api/Models
parent81c24cb9a8dcfaf07261cb57c4de16acbe78bdad (diff)
Fix default values missing in ClientCapabilities(Dto) (#11232)
Diffstat (limited to 'Jellyfin.Api/Models')
-rw-r--r--Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs
index 12ce19368..b72dcff88 100644
--- a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs
+++ b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs
@@ -55,12 +55,12 @@ public class ClientCapabilitiesDto
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
- public bool? SupportsContentUploading { get; set; }
+ public bool? SupportsContentUploading { get; set; } = false;
// TODO: Remove after 10.9
[Obsolete("Unused")]
[DefaultValue(false)]
- public bool? SupportsSync { get; set; }
+ public bool? SupportsSync { get; set; } = false;
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
/// <summary>