Merge branch 'main' of hectabit.org:arzumify/hectabit-oauth2

This commit is contained in:
Tracker-Friendly 2024-04-02 18:31:35 +01:00
commit 84a0cdcbf6
1 changed files with 1 additions and 1 deletions

2
main
View File

@ -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 = []