diff options
Diffstat (limited to 'internal/processing/timeline/notification.go')
-rw-r--r-- | internal/processing/timeline/notification.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/timeline/notification.go b/internal/processing/timeline/notification.go index 697649444..0db4080b9 100644 --- a/internal/processing/timeline/notification.go +++ b/internal/processing/timeline/notification.go @@ -41,7 +41,7 @@ func (p *Processor) NotificationsGet( sinceID string, minID string, limit int, - includeTypes []string, + types []string, excludeTypes []string, ) (*apimodel.PageableResponse, gtserror.WithCode) { notifs, err := p.state.DB.GetAccountNotifications( @@ -51,7 +51,7 @@ func (p *Processor) NotificationsGet( sinceID, minID, limit, - includeTypes, + types, excludeTypes, ) if err != nil && !errors.Is(err, db.ErrNoEntries) { |