mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Add default value to OpenAPI specification for UserPolicy.EnableCollectionManagement
This fixes a breaking API change during authentication
This commit is contained in:
parent
a1eb2f6ea8
commit
a8486a7b3b
|
@ -2,6 +2,7 @@
|
||||||
#pragma warning disable CS1591, CA1819
|
#pragma warning disable CS1591, CA1819
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule;
|
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.
|
/// Gets or sets a value indicating whether this instance can manage collections.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
||||||
|
[DefaultValue(false)]
|
||||||
public bool EnableCollectionManagement { get; set; }
|
public bool EnableCollectionManagement { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue