Fixed title error

This commit is contained in:
DingZQ
2022-10-31 23:36:06 +08:00
parent 6cf57e4850
commit 63e1b31c76

View File

@@ -32,6 +32,7 @@ if not os.path.exists(tmpDir):
app = FastAPI()
# project operations
@app.get('/listprojects/')
async def fastapi_list_projects() -> list[str]:
return list_project()
@@ -200,7 +201,7 @@ async def fast_get_title_schema(network: str) -> dict[str, dict[str, Any]]:
return get_title_schema(network)
@app.get('/gettitle/')
async def fast_get_title(network: str) -> dict[str, Any]
async def fast_get_title(network: str) -> dict[str, Any]:
return get_title(network)
############################################################