Skip to content

Commit

Permalink
test metrix
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Dec 8, 2024
1 parent 7c9ad74 commit c234f26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beaverhabits/main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import asyncio
from contextlib import asynccontextmanager
import logging
from contextlib import asynccontextmanager

from fastapi import FastAPI
import sentry_sdk
from fastapi import FastAPI

from beaverhabits.app import crud

Expand Down Expand Up @@ -40,7 +40,7 @@ def read_root():
return {"Hello": "World"}


@app.get("/user/count")
@app.get("/api/v1/users/count")
async def user_count():
return {"count": await crud.get_user_count()}

Expand Down

0 comments on commit c234f26

Please sign in to comment.