Sfoglia il codice sorgente

Make StartupWizardCompleted nullable in PublicSystemInfo

Niels van Velzen 4 anni fa
parent
commit
7072b4d926
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      MediaBrowser.Model/System/PublicSystemInfo.cs

+ 5 - 2
MediaBrowser.Model/System/PublicSystemInfo.cs

@@ -43,7 +43,10 @@ namespace MediaBrowser.Model.System
         /// <summary>
         /// Gets or sets a value indicating whether the startup wizard is completed.
         /// </summary>
-        /// <value>The startup completion status.</value>
-        public bool StartupWizardCompleted { get; set; }
+        /// <remarks>
+        /// Nullable for OpenAPI specification only to retain backwards compatibility in apiclients.
+        /// </remarks>
+        /// <value>The startup completion status.</value>]
+        public bool? StartupWizardCompleted { get; set; }
     }
 }