diff --git a/mysql/query.go b/mysql/query.go index c94546d..af00c1b 100644 --- a/mysql/query.go +++ b/mysql/query.go @@ -154,7 +154,7 @@ func (b MySQLBackend) queryEventsSql(filter nostr.Filter, doCount bool) (string, COUNT(*) FROM event WHERE `+ strings.Join(conditions, " AND ")+ - " ORDER BY created_at DESC LIMIT ?") + " LIMIT ?") } else { query = sqlx.Rebind(sqlx.BindType("mysql"), `SELECT id, pubkey, created_at, kind, tags, content, sig