summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorave <pleromagit@ave.zone>2022-11-28 00:13:34 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-11-28 00:13:34 +0000
commit0f88c2bca437b7d2fa6d6320aae8b8bbe4e5d6c4 (patch)
tree7111a693efb2707a320e2bca5d8888832bedb084 /lib
parent7f0b3161eab7d3a3de7103d83ba62ee05ec1c28f (diff)
Change follow_operation schema to use type BooleanLike
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/api_spec/operations/account_operation.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
index aed59293c..012cbdc79 100644
--- a/lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -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