From 4ce5c37df5b69b09c6759ef751eb39a8bc839094 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:18:35 +0200 Subject: [bugfix] rename `include_types[]` to `types[]` (#3023) --- internal/processing/timeline/notification.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/processing/timeline/notification.go') 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) { -- cgit v1.2.3