From 6ee05291805879ffc486d1fe9756674fb08ed211 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Mon, 9 Aug 2021 23:05:17 +0200 Subject: [PATCH] sex --- files/routes/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/oauth.py b/files/routes/oauth.py index 3837dc69f..5cdf7341d 100644 --- a/files/routes/oauth.py +++ b/files/routes/oauth.py @@ -107,7 +107,7 @@ def admin_app_approve(v, aid): g.db.add(new_auth) - send_notification(1046, user.id, 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.") + send_notification(1046, 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.") return {"message": f"{app.app_name} approved"}