Adapt to upstream API changes in go-mastodon

pull/6/head
Christian Muehlhaeuser 2019-08-11 04:13:16 +02:00
rodzic 637053214c
commit 90dadbdb94
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 3CF9FA45CA1EBB7E
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -122,6 +122,8 @@ func searchToots() error {
var pg mastodon.Pagination
for {
pg.SinceID = ""
pg.MinID = ""
pg.Limit = 40
statuses, err := client.GetAccountStatuses(context.Background(), self.ID, &pg)
if err != nil {
@ -174,6 +176,8 @@ func gatherStats() error {
var pg mastodon.Pagination
for {
pg.SinceID = ""
pg.MinID = ""
pg.Limit = 40
statuses, err := client.GetAccountStatuses(context.Background(), self.ID, &pg)
if err != nil {