Skip to content

Commit

Permalink
Allow to pass sjd as param to get_summary route
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Mar 26, 2024
1 parent f635e83 commit fa02f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lvmapi/routers/ephemeris.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class EphemerisSummaryOut(BaseModel):
description="Summary of the ephemeris",
response_model=EphemerisSummaryOut,
)
async def get_summary():
async def get_summary(sjd: int | None = None):
"""Returns a summary of the ephemeris."""

return get_ephemeris_summary()
return get_ephemeris_summary(sjd=sjd)

0 comments on commit fa02f58

Please sign in to comment.