Start fixing forecast service API 14
This commit is contained in:
@@ -241,9 +241,9 @@ class DataServiceClient(BaseServiceClient):
|
||||
"""
|
||||
# Prepare request payload with proper date handling
|
||||
payload = {
|
||||
"days": days, # Already in ISO format from calling code
|
||||
"latitude": latitude or 40.4168, # Default Madrid coordinates
|
||||
"longitude": longitude or -3.7038
|
||||
"longitude": longitude or -3.7038,
|
||||
"days": days # Already in ISO format from calling code
|
||||
}
|
||||
|
||||
logger.info(f"Weather request payload: {payload}", tenant_id=tenant_id)
|
||||
|
||||
Reference in New Issue
Block a user