Fix pagination for mstdn command
This commit is contained in:
parent
5fad354d1a
commit
dd0b467062
4 changed files with 18 additions and 5 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
func cmdTimeline(c *cli.Context) error {
|
||||
client := c.App.Metadata["client"].(*mastodon.Client)
|
||||
config := c.App.Metadata["config"].(*mastodon.Config)
|
||||
timeline, err := client.GetTimelineHome(context.Background())
|
||||
timeline, _, err := client.GetTimelineHome(context.Background(), nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue