Change follow_operation schema to use type BooleanLike

This commit is contained in:
ave 2022-11-28 00:13:34 +00:00 committed by Haelwenn
commit 0f88c2bca4
2 changed files with 29 additions and 15 deletions

View file

@ -223,12 +223,12 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation 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