diff options
author | ave <pleromagit@ave.zone> | 2022-11-28 00:13:34 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2022-11-28 00:13:34 +0000 |
commit | 0f88c2bca437b7d2fa6d6320aae8b8bbe4e5d6c4 (patch) | |
tree | 7111a693efb2707a320e2bca5d8888832bedb084 /lib | |
parent | 7f0b3161eab7d3a3de7103d83ba62ee05ec1c28f (diff) | |
download | pleroma-0f88c2bca437b7d2fa6d6320aae8b8bbe4e5d6c4.tar.gz pleroma-0f88c2bca437b7d2fa6d6320aae8b8bbe4e5d6c4.zip |
Change follow_operation schema to use type BooleanLike
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/account_operation.ex | 4 |
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 |