Fixed title error
This commit is contained in:
3
main.py
3
main.py
@@ -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)
|
||||
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user