Merge branch 'develop' of ssh://gitssh.elcsa.ru:22222/damanukyan/pay-service into develop
This commit is contained in:
@@ -100,7 +100,7 @@ app: FastAPI = FastAPI(
|
||||
redoc_url=None,
|
||||
docs_url=None,
|
||||
lifespan=lifespan,
|
||||
title='Elcsa Users Service'
|
||||
title='Elcsa. Pay service Service'
|
||||
)
|
||||
|
||||
app.add_exception_handler(ApplicationException, application_exception_handler)
|
||||
@@ -163,3 +163,10 @@ async def ping() -> dict[str, str]:
|
||||
'message': 'pong',
|
||||
'status': 'ok',
|
||||
}
|
||||
|
||||
@app.get('/health')
|
||||
async def health() -> dict[str, str]:
|
||||
return {
|
||||
'status': 'ok',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user