add a more complex example of fetching subnotes to readme.

This commit is contained in:
fiatjaf
2023-11-08 12:56:38 -03:00
parent 714d65312c
commit 200e4e61f7
2 changed files with 6 additions and 1 deletions

2
req.go
View File

@@ -99,7 +99,7 @@ example:
filter := nostr.Filter{}
if stdinFilter != "" {
if err := json.Unmarshal([]byte(stdinFilter), &filter); err != nil {
lineProcessingError(c, "invalid filter received from stdin: %s", err)
lineProcessingError(c, "invalid filter '%s' received from stdin: %s", stdinFilter, err)
continue
}
}