Add max length for SortBy

This commit is contained in:
Patrick Barron 2020-07-17 14:46:17 -04:00
parent 9e17db59cd
commit 2831062a3f

View File

@ -120,6 +120,8 @@ namespace Jellyfin.Data.Entities
/// <summary>
/// Gets or sets what the view should be sorted by.
/// </summary>
[MaxLength(64)]
[StringLength(64)]
public string SortBy { get; set; }
/// <summary>