diff options
author | 2022-08-31 13:20:52 -0400 | |
---|---|---|
committer | 2022-08-31 19:20:52 +0200 | |
commit | ecb97f4e0bae0735464880cd850e964f292f2e92 (patch) | |
tree | c0c6c6576beaf1e4a0bbd740d8db9341d77b2ae6 /internal/processing/notification_test.go | |
parent | [bugfix] Use custom blackfriday renderer to only add mention/hashtag links in... (diff) | |
download | gotosocial-ecb97f4e0bae0735464880cd850e964f292f2e92.tar.xz |
[feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784)
* Add support for the exclude_types[] parameter on the notifications endpoint
* Add swagger docs to notifications
Diffstat (limited to 'internal/processing/notification_test.go')
-rw-r--r-- | internal/processing/notification_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/notification_test.go b/internal/processing/notification_test.go index 6ecca92a9..9758ea1a0 100644 --- a/internal/processing/notification_test.go +++ b/internal/processing/notification_test.go @@ -33,7 +33,7 @@ type NotificationTestSuite struct { // get a notification where someone has liked our status func (suite *NotificationTestSuite) TestGetNotifications() { receivingAccount := suite.testAccounts["local_account_1"] - notifsResponse, err := suite.processor.NotificationsGet(context.Background(), suite.testAutheds["local_account_1"], 10, "", "") + notifsResponse, err := suite.processor.NotificationsGet(context.Background(), suite.testAutheds["local_account_1"], []string{}, 10, "", "") suite.NoError(err) suite.Len(notifsResponse.Items, 1) notif, ok := notifsResponse.Items[0].(*apimodel.Notification) |