fd
This commit is contained in:
parent
ee7226448e
commit
0c75d5b7c8
10 changed files with 29 additions and 15 deletions
|
@ -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"}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue