This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
AccountView: `sensitive` is supposed to be a boolean, not a string
tags/v0.9.9
Martin Kühl
5 years ago
parent
2e2f458705
commit
b60d232719
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/web/mastodon_api/views/account_view.ex
+1
-1
test/web/mastodon_api/account_view_test.exs
+ 1
- 1
lib/pleroma/web/mastodon_api/views/account_view.ex
View File
@@ -47,7 +47,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
source: %{
note: "",
privacy: user_info.default_scope,
sensitive:
"
false
"
sensitive: false
}
}
end
+ 1
- 1
test/web/mastodon_api/account_view_test.exs
View File
@@ -52,7 +52,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{
note: "",
privacy: "public",
sensitive:
"
false
"
sensitive: false
}
}
Write
Preview
Loading…
Cancel
Save