From 4ed442632c2dc91a08cf352021f6fdf965895786 Mon Sep 17 00:00:00 2001 From: Xyon Date: Mon, 20 Nov 2023 10:19:21 +0000 Subject: [PATCH] Hotfix for weather API changing moon illumination from string to int --- Cargo.toml | 2 +- src/models/weather.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4c6a570..7b957cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "manifold" -version = "5.0.0" +version = "5.0.1" authors = ["Lucy Bladen "] edition = "2021" diff --git a/src/models/weather.rs b/src/models/weather.rs index e78247d..a372a32 100644 --- a/src/models/weather.rs +++ b/src/models/weather.rs @@ -99,7 +99,7 @@ pub struct DayAstro { pub moonrise: String, pub moonset: String, pub moon_phase: String, - pub moon_illumination: String + pub moon_illumination: i64 } #[derive(Debug, Deserialize)]