Fixed User.is_discoverable attribute rendering in Admin API User view.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 28 Oct 2020 19:29:52 +0000 (22:29 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 28 Oct 2020 19:29:52 +0000 (22:29 +0300)
lib/pleroma/web/admin_api/views/account_view.ex

index bda7ea19ce710b2d4e666e59b35779b1cba63513..8bac24d3efabdb991e61999147c6eb5b57395abc 100644 (file)
@@ -52,7 +52,7 @@ defmodule Pleroma.Web.AdminAPI.AccountView do
       :skip_thread_containment,
       :pleroma_settings_store,
       :raw_fields,
-      :discoverable,
+      :is_discoverable,
       :actor_type
     ])
     |> Map.merge(%{