Skip to content

Commit

Permalink
api.main: fix pycodestyle error for /metrics endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and JenySadadia committed Oct 22, 2024
1 parent 0323eae commit 9bddc8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@ async def icons(icon_name: str):
icon_path = os.path.join(root_dir, 'templates', icon_name)
return FileResponse(icon_path)


@app.get('/metrics')
async def get_metrics():
"""Get metrics"""
Expand Down

0 comments on commit 9bddc8f

Please sign in to comment.