Start fixing forecast service API 14
This commit is contained in:
@@ -72,7 +72,7 @@ async def get_current_weather(
|
||||
logger.error("Failed to get current weather", error=str(e))
|
||||
raise HTTPException(status_code=500, detail=f"Internal server error: {str(e)}")
|
||||
|
||||
@router.get("/tenants/{tenant_id}/weather/forecast", response_model=List[WeatherForecastResponse])
|
||||
@router.post("/tenants/{tenant_id}/weather/forecast", response_model=List[WeatherForecastResponse])
|
||||
async def get_weather_forecast(
|
||||
latitude: float = Query(..., description="Latitude"),
|
||||
longitude: float = Query(..., description="Longitude"),
|
||||
|
||||
Reference in New Issue
Block a user