Fix specs.

This commit is contained in:
lain 2018-05-20 19:22:26 +02:00
parent dde5ad9e37
commit dca26f3655

View File

@ -197,7 +197,8 @@ def to_map(
"external_url" => object["external_url"] || object["id"], "external_url" => object["external_url"] || object["id"],
"tags" => tags, "tags" => tags,
"activity_type" => "post", "activity_type" => "post",
"possibly_sensitive" => possibly_sensitive "possibly_sensitive" => possibly_sensitive,
"visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object)
} }
end end