mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2025-01-12 02:20:19 +00:00
AccountView: sensitive
is supposed to be a boolean, not a string
This commit is contained in:
parent
2e2f458705
commit
b60d232719
|
@ -47,7 +47,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
||||||
source: %{
|
source: %{
|
||||||
note: "",
|
note: "",
|
||||||
privacy: user_info.default_scope,
|
privacy: user_info.default_scope,
|
||||||
sensitive: "false"
|
sensitive: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,7 +52,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
|
||||||
source: %{
|
source: %{
|
||||||
note: "",
|
note: "",
|
||||||
privacy: "public",
|
privacy: "public",
|
||||||
sensitive: "false"
|
sensitive: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue