mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-16 03:40:06 +02:00
Make weather display operational with correct API usage
Fixes 401 error for historical weather data by correcting the API URL syntax from `forecastBasisDate` to `/timeline/location/date`. Updates data formatting for temperature and conditions, ensures weather is visible to all users, and improves production logging for easier debugging. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d43bd811-9372-45a7-8ac9-4a954c0538e1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d43bd811-9372-45a7-8ac9-4a954c0538e1/xi5G4qi
This commit is contained in:
1 parent
62803e7b39
commit
d635bfb7c0
4 files changed
+40
-5
No files matched your search
@@ -19,6 +19,17 @@ La plateforme fournit une gestion robuste des flux de travail de livraison avec
|
||||
|
||||
## Recent Changes
|
||||
|
||||
### 2025-08-15 - Système météo production opérationnel avec clé API authentique
|
||||
✅ **Problème API Visual Crossing complètement résolu** :
|
||||
- **Problème** : Erreur 401 pour données année précédente en production
|
||||
- **Cause** : Mauvaise syntaxe URL pour données historiques (utilisait `forecastBasisDate`)
|
||||
- **Solution** : Syntaxe correcte `/timeline/location/date` pour données historiques
|
||||
- **Auto-configuration** : Système utilise automatiquement `VISUAL_CROSSING_API_KEY` des variables d'environnement
|
||||
- **Gestion d'erreur robuste** : Affiche météo actuelle même si année précédente échoue
|
||||
- **Format données corrigé** : `maxTemperature`/`minTemperature` numériques pour WeatherWidget
|
||||
- **Visibilité** : Météo accessible à tous utilisateurs connectés (non admin-seulement)
|
||||
- **Logs améliorés** : Debugging détaillé pour diagnostic production
|
||||
|
||||
### 2025-08-14 - Correction finale permissions employés commandes clients
|
||||
✅ **Problème permissions employés entièrement résolu** :
|
||||
- **Problème** : Employés ne pouvaient pas créer de commandes clients (erreur "Access denied to this group")
|
||||
|
||||
Reference in new issue
Block a user