浏览代码

Remove nullable from MaxActiveSessions

Joshua M. Boniface 4 年之前
父节点
当前提交
a9e5f6e770
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Data/Entities/User.cs

+ 1 - 1
Jellyfin.Data/Entities/User.cs

@@ -191,7 +191,7 @@ namespace Jellyfin.Data.Entities
         /// <summary>
         /// Gets or sets the maximum number of active sessions the user can have at once.
         /// </summary>
-        public int? MaxActiveSessions { get; set; }
+        public int MaxActiveSessions { get; set; }
 
         /// <summary>
         /// Gets or sets the subtitle mode.