diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index cafe9db..4233995 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "0.5.23" +version = "0.5.24" edition = "2021" authors = ["Pyrit [2111649]"] license = "MIT" diff --git a/torn-api/src/torn.rs b/torn-api/src/torn.rs index f013f8a..20d6b3b 100644 --- a/torn-api/src/torn.rs +++ b/torn-api/src/torn.rs @@ -198,6 +198,8 @@ pub struct TerritoryWarReportFaction { pub score: i32, pub joins: i32, pub clears: i32, + #[serde(rename = "type")] + pub role: TerritoryWarReportRole, } #[derive(Clone, Debug, Deserialize)]