make custompref value nullable

This commit is contained in:
cvium
2021-04-07 13:09:00 +02:00
parent 221d9373e8
commit d772fddfb3
6 changed files with 563 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ namespace Jellyfin.Data.Entities
/// <param name="client">The client.</param>
/// <param name="key">The preference key.</param>
/// <param name="value">The preference value.</param>
public CustomItemDisplayPreferences(Guid userId, Guid itemId, string client, string key, string value)
public CustomItemDisplayPreferences(Guid userId, Guid itemId, string client, string key, string? value)
{
UserId = userId;
ItemId = itemId;
@@ -75,6 +75,6 @@ namespace Jellyfin.Data.Entities
/// <remarks>
/// Required.
/// </remarks>
public string Value { get; set; }
public string? Value { get; set; }
}
}