mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #5782 from cvium/fix-release-10.7.2
Fix 10.7.2 nullable
This commit is contained in:
commit
69f30bc52c
@ -17,7 +17,7 @@ namespace Jellyfin.Data.Entities
|
||||
/// <param name="client">The client.</param>
|
||||
/// <param name="preferenceKey">The preference key.</param>
|
||||
/// <param name="preferenceValue">The preference value.</param>
|
||||
public CustomItemDisplayPreferences(Guid userId, Guid itemId, string client, string preferenceKey, string? preferenceValue)
|
||||
public CustomItemDisplayPreferences(Guid userId, Guid itemId, string client, string preferenceKey, string preferenceValue)
|
||||
{
|
||||
UserId = userId;
|
||||
ItemId = itemId;
|
||||
@ -85,6 +85,6 @@ namespace Jellyfin.Data.Entities
|
||||
/// Required.
|
||||
/// </remarks>
|
||||
[Required]
|
||||
public string? Value { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public Dictionary<string, string?> ListCustomItemDisplayPreferences(Guid userId, Guid itemId, string client)
|
||||
public Dictionary<string, string> ListCustomItemDisplayPreferences(Guid userId, Guid itemId, string client)
|
||||
{
|
||||
return _dbContext.CustomItemDisplayPreferences
|
||||
.AsQueryable()
|
||||
|
Loading…
x
Reference in New Issue
Block a user