This commit is contained in:
DingZQ
2023-09-20 00:13:46 +08:00
parent 0de74cc892
commit d190a838bf

View File

@@ -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/")