master
Aevann1 2021-12-01 19:41:33 +02:00
parent 4d237785b0
commit 00366f64a2
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ def authorize(v):
def request_api_keys(v):
new_app = OauthApp(
app_name=request.values.get('name'),
app_name=request.values.get('name').replace('<',''),
redirect_uri=request.values.get('redirect_uri'),
author_id=v.id,
description=request.values.get("description")[:256]
@ -131,7 +131,7 @@ def admin_app_approve(v, aid):
g.db.commit()
return {"message": f"{app.app_name} approved"}
return {"message": f"Application approved"}
@app.post("/admin/app/revoke/<aid>")