fix: apparently precipitation is a float

This commit is contained in:
Felix Suchert 2023-03-27 19:11:46 +02:00
parent 0807c15de4
commit 99c9a1d09f
Signed by: feliix42
GPG key ID: 24363525EA0E8A99

View file

@ -145,7 +145,7 @@ pub struct WeatherAlert {
pub struct Precipitation {
/// Precipitation volume in the last hour in mm
#[serde(rename = "1h")]
pub(self) hour: u16,
pub(self) hour: f32,
}
#[derive(Deserialize)]