aboutsummaryrefslogtreecommitdiff
path: root/mastodon
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/notification.go b/mastodon/notification.go
index 5983396..656e6a1 100644
--- a/mastodon/notification.go
+++ b/mastodon/notification.go
@@ -23,7 +23,7 @@ type Notification struct {
}
// GetNotifications return notifications.
-func (c *Client) GetNotifications(ctx context.Context, pg *Pagination, excludes ...string) ([]*Notification, error) {
+func (c *Client) GetNotifications(ctx context.Context, pg *Pagination, excludes []string) ([]*Notification, error) {
var notifications []*Notification
params := url.Values{}
for _, exclude := range excludes {