This commit is contained in:
Aevann1 2021-09-16 19:15:07 +02:00
parent ee7226448e
commit 0c75d5b7c8
10 changed files with 29 additions and 15 deletions

View file

@ -114,10 +114,10 @@ def admin_app_approve(v, aid):
g.db.add(new_auth)
g.db.commit()
send_notification(NOTIFICATIONS_ACCOUNT, user, f"Your application `{app.app_name}` has been approved. Here's your access token: `{access_token}`\nPlease check the guide [here](/api) if you don't know what to do next.")
g.db.commit()
return {"message": f"{app.app_name} approved"}