summaryrefslogtreecommitdiff
path: root/scripts/git-hooks
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-06-05 07:51:24 +0000
committerClaude <noreply@anthropic.com>2026-06-05 07:51:24 +0000
commitaeba2b21b2e495a100757f62a07f6eda512a4ab0 (patch)
tree6b1611b9e52c446a353da75ff21e735db551c893 /scripts/git-hooks
parent3f7a1a181be300a04a8cfb00022aedc5d97676da (diff)
Fix wind grid deserialization: make forecast-only fields nullable
The batch wind-grid endpoint only requests windspeed_10m and winddirection_10m, so temperature_2m, precipitation_probability, and weathercode are absent from its response. Moshi required these fields and threw, causing fetchWindGrid to silently fail. Made those three fields nullable with null defaults in WeatherHourly. Updated the two call sites in WeatherRepository that access them via the full forecast endpoint to use safe-call syntax. https://claude.ai/code/session_017TwkSjhzhmTcHKmVG5MWUa
Diffstat (limited to 'scripts/git-hooks')
0 files changed, 0 insertions, 0 deletions