aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/account.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-13 09:31:13 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-13 09:31:13 -0500
commit9968b7efedc64d0239db5578de7fc66ff4ce894d (patch)
tree3ce12279bae5c871f957c218daf7e897cc1bbdb8 /lib/pleroma/web/api_spec/schemas/account.ex
parenteea879eb362d3310d4fe047fb6412b69dd8711fe (diff)
downloadpleroma-9968b7efedc64d0239db5578de7fc66ff4ce894d.tar.gz
Change user.locked field to user.is_locked
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas/account.ex')
-rw-r--r--lib/pleroma/web/api_spec/schemas/account.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/account.ex b/lib/pleroma/web/api_spec/schemas/account.ex
index ca79f0747..b8ddf4ab8 100644
--- a/lib/pleroma/web/api_spec/schemas/account.ex
+++ b/lib/pleroma/web/api_spec/schemas/account.ex
@@ -32,7 +32,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
header_static: %Schema{type: :string, format: :uri},
header: %Schema{type: :string, format: :uri},
id: FlakeID,
- locked: %Schema{type: :boolean},
+ is_locked: %Schema{type: :boolean},
note: %Schema{type: :string, format: :html},
statuses_count: %Schema{type: :integer},
url: %Schema{type: :string, format: :uri},
@@ -159,7 +159,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
"header" => "https://mypleroma.com/images/banner.png",
"header_static" => "https://mypleroma.com/images/banner.png",
"id" => "9tKi3esbG7OQgZ2920",
- "locked" => false,
+ "is_locked" => false,
"note" => "cofe",
"pleroma" => %{
"allow_following_move" => true,