Skip to content

Commit

Permalink
TGSTATION v3 BUT THIS TIME IT ACTUALLY WORKS (#63)
Browse files Browse the repository at this point in the history
* ok but this time itll actually work

* ok but clean this  up too what the heckk
  • Loading branch information
bobbah authored Jan 31, 2025
1 parent 4483407 commit 4d074af
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CentCom.Server/External/Raw/TgRawBan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4d074af

Please sign in to comment.