forked from mirrors/akkoma
AccountView: sensitive
is supposed to be a boolean, not a string
This commit is contained in:
parent
2e2f458705
commit
b60d232719
|
@ -47,7 +47,7 @@ def render("account.json", %{user: user}) do
|
|||
source: %{
|
||||
note: "",
|
||||
privacy: user_info.default_scope,
|
||||
sensitive: "false"
|
||||
sensitive: false
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
|
@ -52,7 +52,7 @@ test "Represent a user account" do
|
|||
source: %{
|
||||
note: "",
|
||||
privacy: "public",
|
||||
sensitive: "false"
|
||||
sensitive: false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue