Fixed incorrect column
This commit is contained in:
parent
d6cdfa022b
commit
0034c12816
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