Commit 55baea65 by Oleksandr Barabash

hotfix on coroutine

parent 275eb584
......@@ -161,7 +161,7 @@ async def v1_health_check(_request: Request) -> Response:
container = None
try:
container = await COSMOS_CLIENT.get_conversations_container()
data = await KEY_VAULT_CLIENT.get_secret("adminLogin").value
data = (await KEY_VAULT_CLIENT.get_secret("adminLogin")).value
return Response(body=json.dumps(dict(data=data)),
status=HTTPStatus.OK,
content_type="application/json")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment