forked from AkkomaGang/akkoma
format the code
This commit is contained in:
parent
7d101bc9c5
commit
94f1cfced8
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue