diff options
author | 2024-06-18 18:18:35 +0200 | |
---|---|---|
committer | 2024-06-18 18:18:35 +0200 | |
commit | 4ce5c37df5b69b09c6759ef751eb39a8bc839094 (patch) | |
tree | 76974b8d501623ceb2059276eeeb02a62371b2e3 /internal/api/client/notifications/notifications.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/api/client/notifications/notifications.go')
-rw-r--r-- | internal/api/client/notifications/notifications.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/notifications/notifications.go b/internal/api/client/notifications/notifications.go index ab015427e..cb1edf3ff 100644 --- a/internal/api/client/notifications/notifications.go +++ b/internal/api/client/notifications/notifications.go @@ -34,8 +34,8 @@ const ( BasePathWithID = BasePath + "/:" + IDKey BasePathWithClear = BasePath + "/clear" - // IncludeTypesKey names an array param specifying notification types to include. - IncludeTypesKey = "include_types[]" + // TypesKey names an array param specifying notification types to include. + TypesKey = "types[]" // ExcludeTypesKey names an array param specifying notification types to exclude. ExcludeTypesKey = "exclude_types[]" MaxIDKey = "max_id" |