Fetch last 100 items
This commit is contained in:
parent
8b1ad852f2
commit
9fe5927465
2
main.go
2
main.go
|
@ -69,7 +69,7 @@ func main() {
|
||||||
|
|
||||||
for {
|
for {
|
||||||
log.Println("fetching items ...")
|
log.Println("fetching items ...")
|
||||||
r, err := c.Items(&sn.ItemsQuery{Sort: "recent", Limit: 21})
|
r, err := c.Items(&sn.ItemsQuery{Sort: "recent", Limit: 100})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
SendToNostr(fmt.Sprint(err))
|
SendToNostr(fmt.Sprint(err))
|
||||||
|
|
Loading…
Reference in New Issue