From 7a59d010f6d07bcfb074e60f1f06b002c4bf7b74 Mon Sep 17 00:00:00 2001 From: r Date: Thu, 3 Sep 2020 06:26:32 +0000 Subject: Fix issues related to AntiDopamine mode - Add AntiDopamine mode description - Update fluoride to support AntiDopamine mode --- mastodon/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') 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 { -- cgit v1.2.3