summaryrefslogtreecommitdiff
path: root/internal/processing
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-18 18:18:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-18 18:18:35 +0200
commit4ce5c37df5b69b09c6759ef751eb39a8bc839094 (patch)
tree76974b8d501623ceb2059276eeeb02a62371b2e3 /internal/processing
parent[feature/frontend] Reports frontend v2 (#3022) (diff)
downloadgotosocial-4ce5c37df5b69b09c6759ef751eb39a8bc839094.tar.xz
[bugfix] rename `include_types[]` to `types[]` (#3023)
Diffstat (limited to 'internal/processing')
-rw-r--r--internal/processing/timeline/notification.go4
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) {