fix: use kw.created_at instead of ks.created_at in /list
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ async def list_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
|
||||
"LEFT JOIN keyword_subscriptions ks2 ON ks2.keyword_id = ks.keyword_id "
|
||||
"WHERE ks.user_id = $1 "
|
||||
"GROUP BY kw.id "
|
||||
"ORDER BY ks.created_at DESC",
|
||||
"ORDER BY kw.created_at DESC",
|
||||
row["id"],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user