Commit b60d2327 authored by Martin's avatar Martin

AccountView: `sensitive` is supposed to be a boolean, not a string

parent 2e2f4587
......@@ -47,7 +47,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
source: %{
note: "",
privacy: user_info.default_scope,
sensitive: "false"
sensitive: false
}
}
end
......
......@@ -52,7 +52,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{
note: "",
privacy: "public",
sensitive: "false"
sensitive: false
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment