I forgot to terminate this
This commit is contained in:
parent
bc4718d651
commit
064f4583af
3
main
3
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:
|
||||
|
|
Reference in New Issue