[skip ci] fixed bug when accessing /test

This commit is contained in:
brb
2023-07-06 13:22:32 +02:00
parent ed05a8eca5
commit 3187248fb9
+1 -1
View File
@@ -31,7 +31,7 @@ async def root():
async def test(request: Request):
""" Test connection to server. """
logging.debug('Content-Type: ', request.headers.get('content-type'))
HTTPException(
raise HTTPException(
status_code=200,
detail='test completed'
)