Skip to content

Commit

Permalink
weather/summary -> weather/report
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Mar 26, 2024
1 parent 502be62 commit c79dd7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lvmapi/routers/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@


@router.get("/")
@router.get("/summary")
@router.get("/report")
async def get_weather(station: str = "DuPont") -> list[dict]:
"""Returns the weather summary (last 60 minutes) from a weather station."""
"""Returns the weather report (last 60 minutes) from a weather station."""

df = await get_weather_data(station=station)

Expand Down

0 comments on commit c79dd7d

Please sign in to comment.