added faction role to territory war report
This commit is contained in:
parent
3c0195739a
commit
29639a69aa
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "torn-api"
|
name = "torn-api"
|
||||||
version = "0.5.23"
|
version = "0.5.24"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Pyrit [2111649]"]
|
authors = ["Pyrit [2111649]"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -198,6 +198,8 @@ pub struct TerritoryWarReportFaction {
|
||||||
pub score: i32,
|
pub score: i32,
|
||||||
pub joins: i32,
|
pub joins: i32,
|
||||||
pub clears: i32,
|
pub clears: i32,
|
||||||
|
#[serde(rename = "type")]
|
||||||
|
pub role: TerritoryWarReportRole,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize)]
|
#[derive(Clone, Debug, Deserialize)]
|
||||||
|
|
Loading…
Reference in a new issue