Hotfix for weather API changing moon illumination from string to int
This commit is contained in:
parent
742609b4af
commit
4ed442632c
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "manifold"
|
name = "manifold"
|
||||||
version = "5.0.0"
|
version = "5.0.1"
|
||||||
authors = ["Lucy Bladen <admin@lbladen.uk>"]
|
authors = ["Lucy Bladen <admin@lbladen.uk>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ pub struct DayAstro {
|
||||||
pub moonrise: String,
|
pub moonrise: String,
|
||||||
pub moonset: String,
|
pub moonset: String,
|
||||||
pub moon_phase: String,
|
pub moon_phase: String,
|
||||||
pub moon_illumination: String
|
pub moon_illumination: i64
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue