mirror of
https://github.com/fiatjaf/nak.git
synced 2026-08-12 00:47:49 +00:00
adapt to nostr lib websocket refactor commit (which includes the filters thing).
This commit is contained in:
@@ -164,7 +164,7 @@ example:
|
||||
if c.Bool("bare") {
|
||||
result = filter.String()
|
||||
} else {
|
||||
j, _ := json.Marshal(nostr.ReqEnvelope{SubscriptionID: "nak", Filter: filter})
|
||||
j, _ := json.Marshal(nostr.ReqEnvelope{SubscriptionID: "nak", Filters: []nostr.Filter{filter}})
|
||||
result = string(j)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user