changed classes to records
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
public class HttpConfig : BaseConfig
|
||||
public record HttpConfig : BaseConfig
|
||||
{
|
||||
[JsonPropertyName("kind")]
|
||||
public string Kind { get; set; } = "spt-http";
|
||||
@@ -36,4 +36,4 @@ public class HttpConfig : BaseConfig
|
||||
/// </summary>
|
||||
[JsonPropertyName("serverImagePathOverride")]
|
||||
public Dictionary<string, string> ServerImagePathOverride { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user