Fix mstdn cmd pagination
This commit is contained in:
parent
22f47735b4
commit
1c0e37928e
3 changed files with 4 additions and 4 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(), nil)
|
||||
notifications, err := client.GetNotifications(context.Background(), nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue