Merge branch 'develop' into mutes-blocks-pagination
[akkoma] / lib / pleroma / web / api_spec / schemas / account.ex
index 459e7dba6f5fe9dda4432c80a897f6ac6932cab1..ca79f0747861b93bb63e5d40022878369ffad247 100644 (file)
@@ -124,7 +124,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
             type: :object,
             properties: %{
               actor_type: ActorType,
-              is_discoverable: %Schema{
+              discoverable: %Schema{
                 type: :boolean,
                 description:
                   "whether the user allows discovery of the account in search results and other services."
@@ -205,7 +205,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
         "note" => "foobar",
         "pleroma" => %{
           "actor_type" => "Person",
-          "is_discoverable" => false,
+          "discoverable" => false,
           "no_rich_text" => false,
           "show_role" => true
         },