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)
|
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)
|
||||||
|
|
|
@ -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"],
|
||||||
|
|
Loading…
Reference in a new issue