Refine project operation

This commit is contained in:
WQY\qiong
2023-04-07 21:57:44 +08:00
parent da80d689ed
commit e59dac81ec
5 changed files with 15 additions and 42 deletions

View File

@@ -58,10 +58,6 @@ async def fastapi_delete_project(network: str):
async def fastapi_is_project_open(network: str):
return is_project_open(network)
@app.get('/getprojectopencount/')
async def fastapi_get_project_open_count(network: str) -> int:
return get_project_open_count(network)
@app.post("/openproject/")
async def fastapi_open_project(network: str):
open_project(network)