diff options
author | 2024-06-18 18:18:35 +0200 | |
---|---|---|
committer | 2024-06-18 18:18:35 +0200 | |
commit | 4ce5c37df5b69b09c6759ef751eb39a8bc839094 (patch) | |
tree | 76974b8d501623ceb2059276eeeb02a62371b2e3 /internal/processing/timeline/notification.go | |
parent | [feature/frontend] Reports frontend v2 (#3022) (diff) | |
download | gotosocial-4ce5c37df5b69b09c6759ef751eb39a8bc839094.tar.xz |
[bugfix] rename `include_types[]` to `types[]` (#3023)
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) { |