AccountView: `sensitive` is supposed to be a boolean, not a string
[akkoma] / lib / pleroma / web / mastodon_api / views / account_view.ex
index 133cae3b5b541e443ee7ea344b824dc68b928194..fb42e82c89c07d7d152127b058b167d0030f9a24 100644 (file)
@@ -46,8 +46,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
       fields: [],
       source: %{
         note: "",
-        privacy: "public",
-        sensitive: "false"
+        privacy: user_info.default_scope,
+        sensitive: false
       }
     }
   end