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