forked from AkkomaGang/akkoma
mix format
This commit is contained in:
parent
829ae13572
commit
0627da0027
2 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,7 @@ defp object(draft) do
|
|||
|
||||
emoji = Map.merge(emoji, summary_emoji)
|
||||
{:ok, note_data, _meta} = Builder.note(draft)
|
||||
|
||||
object =
|
||||
note_data
|
||||
|> Map.put("emoji", emoji)
|
||||
|
|
|
@ -328,6 +328,7 @@ def render("show.json", %{activity: %{data: %{"object" => _object}} = activity}
|
|||
)
|
||||
|
||||
{pinned?, pinned_at} = pin_data(object, user)
|
||||
|
||||
%{
|
||||
id: to_string(activity.id),
|
||||
uri: object.data["id"],
|
||||
|
|
Loading…
Reference in a new issue