fix: use kw.created_at instead of ks.created_at in /list

This commit is contained in:
2026-06-17 08:28:26 +02:00
parent a21c310eeb
commit c373e09567
+1 -1
View File
@@ -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 " "LEFT JOIN keyword_subscriptions ks2 ON ks2.keyword_id = ks.keyword_id "
"WHERE ks.user_id = $1 " "WHERE ks.user_id = $1 "
"GROUP BY kw.id " "GROUP BY kw.id "
"ORDER BY ks.created_at DESC", "ORDER BY kw.created_at DESC",
row["id"], row["id"],
) )