diff --git a/main.py b/main.py index 7d2f49f..b461053 100644 --- a/main.py +++ b/main.py @@ -66,7 +66,7 @@ async def fastapi_list_projects() -> list[str]: return list_project() @app.get("/haveproject/") -sync def fastapi_have_project(network: str): +async def fastapi_have_project(network: str): return have_project(network) @app.post("/createproject/")