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"])
|
user = get_user(userCookie["id"])
|
||||||
|
|
||||||
conn = get_db_connection()
|
conn = get_db_connection()
|
||||||
|
|
||||||
try:
|
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:
|
except:
|
||||||
return 400
|
return 400
|
||||||
else:
|
else:
|
||||||
|
|
Reference in New Issue