fix pubkey in postgres
This commit is contained in:
@@ -83,7 +83,7 @@ func (b PostgresBackend) queryEventsSql(filter nostr.Filter, doCount bool) (stri
|
||||
for _, v := range filter.Authors {
|
||||
params = append(params, v)
|
||||
}
|
||||
conditions = append(conditions, ` pubkey IN (`+makePlaceHolders(len(filter.IDs))+`)`)
|
||||
conditions = append(conditions, ` pubkey IN (`+makePlaceHolders(len(filter.Authors))+`)`)
|
||||
}
|
||||
|
||||
if len(filter.Kinds) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user