Fix Credo warning

This commit is contained in:
Roman Chvanikov 2019-04-21 23:19:36 +07:00
parent e56afefef9
commit eeb093631c

View File

@ -3,9 +3,9 @@ defmodule Pleroma.Web.MastodonAPI.ConversationView do
alias Pleroma.Activity alias Pleroma.Activity
alias Pleroma.Repo alias Pleroma.Repo
alias Pleroma.Web.MastodonAPI.AccountView
alias Pleroma.Web.ActivityPub.ActivityPub alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.Web.MastodonAPI.StatusView alias Pleroma.Web.MastodonAPI.StatusView
alias Pleroma.Web.MastodonAPI.AccountView
def render("participation.json", %{participation: participation, user: user}) do def render("participation.json", %{participation: participation, user: user}) do
participation = Repo.preload(participation, conversation: :users) participation = Repo.preload(participation, conversation: :users)