mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
Nullify GeneralConfiguration
This commit is contained in:
@@ -11,8 +11,6 @@ using Tgstation.Server.Host.Setup;
|
||||
|
||||
using YamlDotNet.Serialization;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
@@ -83,7 +81,7 @@ namespace Tgstation.Server.Host.Configuration
|
||||
/// <summary>
|
||||
/// The <see cref="Version"/> the file says it is.
|
||||
/// </summary>
|
||||
public Version ConfigVersion { get; set; }
|
||||
public Version? ConfigVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The port the TGS API listens on.
|
||||
@@ -93,7 +91,7 @@ namespace Tgstation.Server.Host.Configuration
|
||||
/// <summary>
|
||||
/// A GitHub personal access token to use for bypassing rate limits on requests. Requires no scopes.
|
||||
/// </summary>
|
||||
public string GitHubAccessToken { get; set; }
|
||||
public string? GitHubAccessToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="SetupWizardMode"/>.
|
||||
|
||||
Reference in New Issue
Block a user