diff options
| author | Niels van Velzen <git@ndat.nl> | 2023-06-27 13:58:54 +0200 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2023-06-27 14:00:02 +0200 |
| commit | a8486a7b3b65331b71357a1ecf9228d129bebfcd (patch) | |
| tree | 7145af71a671f28380fce6583d60e0eca04d2c30 | |
| parent | a1eb2f6ea8cd78d527f1ae395378419f016208ab (diff) | |
Add default value to OpenAPI specification for UserPolicy.EnableCollectionManagement
This fixes a breaking API change during authentication
| -rw-r--r-- | MediaBrowser.Model/Users/UserPolicy.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.cs index 80f5e2c37..8354c60ef 100644 --- a/MediaBrowser.Model/Users/UserPolicy.cs +++ b/MediaBrowser.Model/Users/UserPolicy.cs @@ -2,6 +2,7 @@ #pragma warning disable CS1591, CA1819 using System; +using System.ComponentModel; using System.Xml.Serialization; using Jellyfin.Data.Enums; using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule; @@ -79,6 +80,7 @@ namespace MediaBrowser.Model.Users /// Gets or sets a value indicating whether this instance can manage collections. /// </summary> /// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value> + [DefaultValue(false)] public bool EnableCollectionManagement { get; set; } /// <summary> |
