Change follow_operation schema to use type BooleanLike

Signed-off-by: ave <ave@noreply.akkoma>
This commit is contained in:
ave 2022-11-23 14:43:11 +00:00 committed by ave
parent 4a82f19ce6
commit 6328bb94f0

View file

@ -223,12 +223,12 @@ def follow_operation do
type: :object,
properties: %{
reblogs: %Schema{
type: :boolean,
allOf: [BooleanLike],
description: "Receive this account's reblogs in home timeline? Defaults to true.",
default: true
},
notify: %Schema{
type: :boolean,
allOf: [BooleanLike],
description:
"Receive notifications for all statuses posted by the account? Defaults to false.",
default: false