Change follow_operation schema to use type BooleanLike #301
|
@ -223,12 +223,12 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
|
||||||
type: :object,
|
type: :object,
|
||||||
properties: %{
|
properties: %{
|
||||||
reblogs: %Schema{
|
reblogs: %Schema{
|
||||||
type: :boolean,
|
allOf: [BooleanLike],
|
||||||
description: "Receive this account's reblogs in home timeline? Defaults to true.",
|
description: "Receive this account's reblogs in home timeline? Defaults to true.",
|
||||||
default: true
|
default: true
|
||||||
},
|
},
|
||||||
notify: %Schema{
|
notify: %Schema{
|
||||||
type: :boolean,
|
allOf: [BooleanLike],
|
||||||
description:
|
description:
|
||||||
"Receive notifications for all statuses posted by the account? Defaults to false.",
|
"Receive notifications for all statuses posted by the account? Defaults to false.",
|
||||||
default: false
|
default: false
|
||||||
|
|
Loading…
Reference in a new issue