pull/24/head
Aevann1 2022-11-26 22:54:17 +02:00 committed by geese_suck
parent 23ff1a9775
commit a2cebee644
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ def api(v):
@app.get("/api/docs")
@auth_desired
def get_docs_page():
def get_docs_page(v):
# TODO cache
root = tree.getroot()
return render_template("docs.html", root=tree.getroot())
return render_template("docs.html", root=tree.getroot(), v=v)