ActivityPub user view: include tag if present.
This commit is contained in:
parent
f9d13558c8
commit
1ed1ff17a4
|
@ -42,7 +42,8 @@ def render("user.json", %{user: user}) do
|
|||
"image" => %{
|
||||
"type" => "Image",
|
||||
"url" => User.banner_url(user)
|
||||
}
|
||||
},
|
||||
"tag" => user.info["source_data"]["tag"] || []
|
||||
}
|
||||
|> Map.merge(Utils.make_json_ld_header())
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue