format the code

This commit is contained in:
rinpatch 2019-11-14 17:26:59 +03:00
parent 7d101bc9c5
commit 94f1cfced8

View file

@ -12,7 +12,10 @@ defmodule Pleroma.Web.MastodonAPI.ConversationView do
alias Pleroma.Web.MastodonAPI.StatusView alias Pleroma.Web.MastodonAPI.StatusView
def render("participations.json", %{participations: participations, for: user}) do def render("participations.json", %{participations: participations, for: user}) do
safe_render_many(participations, __MODULE__, "participation.json", %{as: :participation, for: user}) safe_render_many(participations, __MODULE__, "participation.json", %{
as: :participation,
for: user
})
end end
def render("participation.json", %{participation: participation, for: user}) do def render("participation.json", %{participation: participation, for: user}) do