summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-11-28 00:13:35 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-11-28 00:13:35 +0000
commit3394394e0f01b16a2038c7370515fb30542a306f (patch)
treee3a04405044516fee9c3602a694c9eb7590473b5 /lib
parent36789986c0b26a4f48ad13ccc5417ff22f85634c (diff)
parent0f88c2bca437b7d2fa6d6320aae8b8bbe4e5d6c4 (diff)
downloadpleroma-3394394e0f01b16a2038c7370515fb30542a306f.tar.gz
pleroma-3394394e0f01b16a2038c7370515fb30542a306f.zip
Merge branch 'develop' into 'develop'
Change follow_operation schema to use type BooleanLike Closes #2999 See merge request pleroma/pleroma!3787
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