fix: handle invalid weather API key gracefully and fix TideDisplay crash

- Fix TideDisplay component crash (use extremes instead of tides)
- Handle 401 weather API errors gracefully (return null data with note)
- Update weather controller to return 200 with null values instead of 503
- Add helpful message about API key activation time
- Fix tide type capitalization (High/Low instead of high/low)
This commit is contained in:
2025-11-16 23:27:10 +00:00
parent 3d487a468e
commit 311d3aa60b
4 changed files with 20 additions and 11 deletions

View File

@@ -268,7 +268,7 @@
- Add notification preferences endpoint
- _Requirements: 6.3, 6.4, 6.5, 10.4_
- [-] 32. Integrate external APIs with caching
- [x] 32. Integrate external APIs with caching
- Set up Redis for caching external API responses
- Implement weather API integration (OpenWeatherMap)
- Build tide API integration (WorldTides or NOAA)