I forgot to terminate this

This commit is contained in:
Tracker-Friendly 2024-04-02 16:56:03 +01:00
parent bc4718d651
commit 064f4583af
1 changed files with 2 additions and 1 deletions

3
main
View File

@ -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: