Skip to content

Commit

Permalink
fix: node_usage error
Browse files Browse the repository at this point in the history
  • Loading branch information
M03ED committed Sep 5, 2024
1 parent 68dab4c commit 1332c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routers/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def remove_node(
@router.get("/nodes/usage", response_model=NodesUsageResponse)
def get_usage(
db: Session = Depends(get_db),
start: datetime = Query(None, example="2024-01-01T00:00:00"),
end: datetime = Query(None, example="2024-01-31T23:59:59"),
start: str = "",
end: str = "",
_: Admin = Depends(Admin.check_sudo_admin)
):
"""Retrieve usage statistics for nodes within a specified date range."""
Expand Down

0 comments on commit 1332c7a

Please sign in to comment.