Skip to content

Commit

Permalink
fix: fixed metrics bug which stopped server startup
Browse files Browse the repository at this point in the history
  • Loading branch information
chanh-1 committed Apr 8, 2023
1 parent 5491bc2 commit 7276c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
def get_chatbot_metrics(
id: int,
db: Session = Depends(database.db_session),
from_date: str | None = None,
to_date: str | None = None,
from_date: str = None,
to_date: str = None,
page: int = 1,
page_size: int = 10,
sort_by: str = constants.SORT_BY_CREATED_AT,
Expand Down

0 comments on commit 7276c99

Please sign in to comment.