Skip to content

Commit

Permalink
Merge pull request #222 from lukaszzborek/update-weather-class
Browse files Browse the repository at this point in the history
Change precipitation chance to decimal
  • Loading branch information
AdrianJSClark authored Sep 8, 2024
2 parents 5e7eec0 + 32649d9 commit 196b6b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10434,7 +10434,7 @@
"weather_summary": {
"max_precip_rate": 0,
"max_precip_rate_desc": "None",
"precip_chance": 0,
"precip_chance": 0.2,
"skies_high": 2,
"skies_low": 0,
"temp_high": 23.1,
Expand Down
2 changes: 1 addition & 1 deletion src/Aydsko.iRacingData/Series/WeatherSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WeatherSummary
public string? MaxPrecipitationRateDesc { get; set; }

[JsonPropertyName("precip_chance")]
public int PrecipitationChance { get; set; }
public decimal PrecipitationChance { get; set; }

[JsonPropertyName("skies_high")]
public int SkiesHigh { get; set; }
Expand Down

0 comments on commit 196b6b5

Please sign in to comment.