summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api/swagger.yaml2
-rw-r--r--internal/api/client/accounts/statuses.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index d3069866f..120513a0c 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -3305,7 +3305,7 @@ paths:
- default: false
description: Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID.
in: query
- name: pinned_only
+ name: pinned
type: boolean
- default: false
description: Show only statuses with media attachments.
diff --git a/internal/api/client/accounts/statuses.go b/internal/api/client/accounts/statuses.go
index 86a6d63cf..867788501 100644
--- a/internal/api/client/accounts/statuses.go
+++ b/internal/api/client/accounts/statuses.go
@@ -86,7 +86,7 @@ import (
// in: query
// required: false
// -
-// name: pinned_only
+// name: pinned
// type: boolean
// description: Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID.
// default: false