Skip to content

Commit ca521d5

Browse files
committed
fix deser error, optional field
1 parent 80d382b commit ca521d5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["tarkah <admin@tarkah.dev>"]
55
edition = "2018"
66

77
[dependencies]
8-
stats-api = { git = "https://github.com/tarkah/stats-api", rev = "9f6948dc786b66251a8bd9ad28d7277ac41af413" }
8+
stats-api = { git = "https://github.com/tarkah/stats-api", rev = "6aa9db46149a2405157e8e6ea929b590ac41c07d" }
99

1010
failure = "0.1"
1111
chrono = "0.4"

src/api/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub struct Team {
1212
pub team_name: String,
1313
pub location_name: Option<String>,
1414
pub first_year_of_play: Option<String>,
15-
pub short_name: String,
15+
pub short_name: Option<String>,
1616
pub active: bool,
1717
}
1818

0 commit comments

Comments
 (0)