From ecb97f4e0bae0735464880cd850e964f292f2e92 Mon Sep 17 00:00:00 2001 From: Blackle Morisanchetto Date: Wed, 31 Aug 2022 13:20:52 -0400 Subject: [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 --- internal/processing/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/processing/processor.go') diff --git a/internal/processing/processor.go b/internal/processing/processor.go index a6e47bed8..463ff72b5 100644 --- a/internal/processing/processor.go +++ b/internal/processing/processor.go @@ -154,7 +154,7 @@ type Processor interface { MediaUpdate(ctx context.Context, authed *oauth.Auth, attachmentID string, form *apimodel.AttachmentUpdateRequest) (*apimodel.Attachment, gtserror.WithCode) // NotificationsGet - NotificationsGet(ctx context.Context, authed *oauth.Auth, limit int, maxID string, sinceID string) (*apimodel.TimelineResponse, gtserror.WithCode) + NotificationsGet(ctx context.Context, authed *oauth.Auth, excludeTypes []string, limit int, maxID string, sinceID string) (*apimodel.TimelineResponse, gtserror.WithCode) // NotificationsClear NotificationsClear(ctx context.Context, authed *oauth.Auth) gtserror.WithCode -- cgit v1.2.3