fix: pass temp_unit from API to WeatherCard so F/C label matches converted values

This commit is contained in:
2026-03-28 13:21:30 -04:00
parent 164c55e845
commit 697d99cc4d
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ async def get_weather():
card for row in rows
if (card := weather_svc.parse_weather_card_data(row, temp_unit)) is not None
]
return jsonify({"locations": cards})
return jsonify({"locations": cards, "temp_unit": temp_unit})
@briefing_bp.route("/weather/geocode", methods=["POST"])