From 453c3e95dd93c41dacaecd63e99a869376526239 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kuleshov Date: Thu, 19 Jan 2023 22:10:04 +0200 Subject: [PATCH] Argument for /check fixed --- sync_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_api.py b/sync_api.py index 57d22da..722ebd0 100644 --- a/sync_api.py +++ b/sync_api.py @@ -9,7 +9,7 @@ makedirs(configGet("data", "locations"), exist_ok=True) @app.get("/check", response_class=Response, include_in_schema=False) async def check(): - return Response(HTTP_200_OK) + return Response(status_code=HTTP_200_OK) @app.get("/favicon.ico", response_class=FileResponse, include_in_schema=False) async def favicon():