Merge branch 'main' of hectabit.org:arzumify/hectabit-oauth2
This commit is contained in:
commit
84a0cdcbf6
2
main
2
main
|
@ -430,7 +430,7 @@ async def apiauthlist():
|
||||||
user = get_user(userCookie["id"])
|
user = get_user(userCookie["id"])
|
||||||
|
|
||||||
conn = get_db_connection()
|
conn = get_db_connection()
|
||||||
oauths = conn.execute("SELECT * FROM oauth WHERE creator = ? ORDER BY id DESC;", (user["id"],)).fetchall()
|
oauths = conn.execute("SELECT * FROM oauth WHERE creator = ? ORDER BY creator DESC;", (user["id"],)).fetchall()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
datatemplate = []
|
datatemplate = []
|
||||||
|
|
Reference in New Issue