Refactoring healthcheck

This commit is contained in:
2022-02-12 13:17:59 +03:00
parent ce812beea1
commit 5db2172363
3 changed files with 9 additions and 8 deletions

View File

@@ -117,6 +117,11 @@ async def update_cache(request: Request):
return "Ok!"
@router.get("/healthcheck")
healthcheck_router = APIRouter(
tags=["healthcheck"],
)
@healthcheck_router.get("/healthcheck")
async def healthcheck():
return "Ok!"