From 064f4583afb29be6a9196c8d82fb503d60c91be9 Mon Sep 17 00:00:00 2001 From: arzumify Date: Tue, 2 Apr 2024 16:56:03 +0100 Subject: [PATCH] I forgot to terminate this --- main | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main b/main index b57a682..94dc481 100644 --- a/main +++ b/main @@ -371,8 +371,9 @@ async def apideleteauth(): user = get_user(userCookie["id"]) conn = get_db_connection() + try: - conn.execute("DELETE FROM oauth WHERE appId = ? AND creator = ?", (str(appId), str(user["id"])) + conn.execute("DELETE FROM oauth WHERE appId = ? AND creator = ?", (str(appId), str(user["id"]))) except: return 400 else: