mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
whole_word is a boolean, not a string (#1177)
This commit is contained in:
parent
4d3fc9f62b
commit
f7f21c8726
@ -206,7 +206,7 @@ keywords_attributes[][keyword]
|
||||
: String. A keyword to be added to the newly-created filter group.
|
||||
|
||||
keywords_attributes[][whole_word]
|
||||
: String. Whether the keyword should consider word boundaries.
|
||||
: Boolean. Whether the keyword should consider word boundaries.
|
||||
|
||||
<!-- TODO: Remove when https://github.com/mastodon/mastodon/issues/21727 is fixed
|
||||
keywords_attributes[][id]
|
||||
@ -330,7 +330,7 @@ keywords_attributes[][keyword]
|
||||
: String. A keyword to be added to the newly-created filter group.
|
||||
|
||||
keywords_attributes[][whole_word]
|
||||
: String. Whether the keyword should consider word boundaries.
|
||||
: Boolean. Whether the keyword should consider word boundaries.
|
||||
|
||||
keywords_attributes[][id]
|
||||
: String. Provide the ID of an existing keyword to modify it, instead of creating a new keyword.
|
||||
@ -1403,4 +1403,4 @@ Filter does not exist or is not owned by you
|
||||
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/filters/statuses_controller.rb" caption="app/controllers/api/v1/filters/statuses_controller.rb" >}}
|
||||
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/filters_controller.rb" caption="app/controllers/api/v1/filters_controller.rb" >}}
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/filters_controller.rb" caption="app/controllers/api/v1/filters_controller.rb" >}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user