Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
b60d2327
Commit
b60d2327
authored
Aug 29, 2018
by
Martin
Browse files
AccountView: `sensitive` is supposed to be a boolean, not a string
parent
2e2f4587
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/mastodon_api/views/account_view.ex
View file @
b60d2327
...
...
@@ -47,7 +47,7 @@ def render("account.json", %{user: user}) do
source:
%{
note:
""
,
privacy:
user_info
.
default_scope
,
sensitive:
"
false
"
sensitive:
false
}
}
end
...
...
test/web/mastodon_api/account_view_test.exs
View file @
b60d2327
...
...
@@ -52,7 +52,7 @@ test "Represent a user account" do
source:
%{
note:
""
,
privacy:
"public"
,
sensitive:
"
false
"
sensitive:
false
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment