mix format

This commit is contained in:
FloatingGhost 2022-06-14 16:25:28 +01:00
parent 829ae13572
commit 0627da0027
2 changed files with 2 additions and 0 deletions

View file

@ -214,6 +214,7 @@ defp object(draft) do
emoji = Map.merge(emoji, summary_emoji) emoji = Map.merge(emoji, summary_emoji)
{:ok, note_data, _meta} = Builder.note(draft) {:ok, note_data, _meta} = Builder.note(draft)
object = object =
note_data note_data
|> Map.put("emoji", emoji) |> Map.put("emoji", emoji)

View file

@ -328,6 +328,7 @@ def render("show.json", %{activity: %{data: %{"object" => _object}} = activity}
) )
{pinned?, pinned_at} = pin_data(object, user) {pinned?, pinned_at} = pin_data(object, user)
%{ %{
id: to_string(activity.id), id: to_string(activity.id),
uri: object.data["id"], uri: object.data["id"],