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

This commit is contained in:
Martin Kühl 2018-08-29 00:51:25 +02:00
parent 2e2f458705
commit b60d232719
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ def render("account.json", %{user: user}) do
source: %{ source: %{
note: "", note: "",
privacy: user_info.default_scope, privacy: user_info.default_scope,
sensitive: "false" sensitive: false
} }
} }
end end

View File

@ -52,7 +52,7 @@ test "Represent a user account" do
source: %{ source: %{
note: "", note: "",
privacy: "public", privacy: "public",
sensitive: "false" sensitive: false
} }
} }