Update
This commit is contained in:
2
main.py
2
main.py
@@ -66,7 +66,7 @@ async def fastapi_list_projects() -> list[str]:
|
|||||||
return list_project()
|
return list_project()
|
||||||
|
|
||||||
@app.get("/haveproject/")
|
@app.get("/haveproject/")
|
||||||
sync def fastapi_have_project(network: str):
|
async def fastapi_have_project(network: str):
|
||||||
return have_project(network)
|
return have_project(network)
|
||||||
|
|
||||||
@app.post("/createproject/")
|
@app.post("/createproject/")
|
||||||
|
|||||||
Reference in New Issue
Block a user