diff --git a/CentCom.Server/External/Raw/TgRawBan.cs b/CentCom.Server/External/Raw/TgRawBan.cs index a6eee0e..aa4fb4f 100644 --- a/CentCom.Server/External/Raw/TgRawBan.cs +++ b/CentCom.Server/External/Raw/TgRawBan.cs @@ -40,7 +40,7 @@ public class TgServer public string RawLogsUrl { get; set; } [JsonPropertyName("round")] - public int Round { get; set; } + public int? Round { get; set; } } public class TgRawBan : IRawBan @@ -98,9 +98,7 @@ public Ban AsBan(BanSource source) Reason = Reason, Expires = Expiration?.UtcDateTime, UnbannedBy = Unbanner?.CKey, - BanID = string.Join(";", BanIds), - JobBans = null, - BanAttributes = (BanAttribute)0 + BanID = string.Join(";", BanIds) }; // Add job bans if relevant