From 0034c128161bff2442d04f1cb5e57d1f96610b8f Mon Sep 17 00:00:00 2001 From: arzumify Date: Tue, 2 Apr 2024 17:35:35 +0100 Subject: [PATCH] Fixed incorrect column --- main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main b/main index 7cedd61..83bf414 100644 --- a/main +++ b/main @@ -430,7 +430,7 @@ async def apiauthlist(): user = get_user(userCookie["id"]) 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() datatemplate = []