Nullify GeneralConfiguration

This commit is contained in:
Jordan Dominion
2023-11-23 19:06:00 -05:00
parent da5adac668
commit e8a1009a46
@@ -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"/>.