Hotfix for weather API changing moon illumination from string to int

This commit is contained in:
Xyon 2023-11-20 10:19:21 +00:00
parent 742609b4af
commit 4ed442632c
Signed by: xyon
GPG Key ID: DD18155D6B18078D
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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)]