mirror of
https://github.com/aljazceru/khatru.git
synced 2026-01-08 16:04:24 +01:00
fix query fields returned.
This commit is contained in:
@@ -136,7 +136,9 @@ func (b *BasicRelay) QueryEvents(
|
||||
conditions = append(conditions, "true")
|
||||
}
|
||||
|
||||
query := b.DB.Rebind("SELECT * FROM event WHERE " +
|
||||
query := b.DB.Rebind(`SELECT
|
||||
id, pubkey, created_at, kind, tags, content, sig
|
||||
FROM event WHERE ` +
|
||||
strings.Join(conditions, " AND ") +
|
||||
" ORDER BY created_at LIMIT 100")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user