aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/account_operation.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-14 09:54:07 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-14 09:54:07 -0500
commit3242cfef20ea05bae53761ffaf54347c4c6f7bda (patch)
treefb916ac086ec8ca7bc1ac719f3fd014d92044515 /lib/pleroma/web/api_spec/operations/account_operation.ex
parent4ead0d564fa60b1a908f6237474250d6bda85ae9 (diff)
downloadpleroma-3242cfef20ea05bae53761ffaf54347c4c6f7bda.tar.gz
Undo API breaking changes
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/account_operation.ex')
-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 1696b19a5..d90ddb787 100644
--- a/lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -606,7 +606,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
description: "Sets the background image of the user.",
format: :binary
},
- is_discoverable: %Schema{
+ discoverable: %Schema{
allOf: [BooleanLike],
nullable: true,
description:
@@ -630,7 +630,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
pleroma_settings_store: %{"pleroma-fe" => %{"key" => "val"}},
skip_thread_containment: false,
allow_following_move: false,
- is_discoverable: false,
+ discoverable: false,
actor_type: "Person"
}
}