Add parentheses.

This commit is contained in:
Roger Braun 2017-09-12 08:53:21 +02:00
parent 02f824f9d5
commit 0df4a0f26d

View File

@ -59,7 +59,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
conn conn
|> add_link_headers(activities) |> add_link_headers(activities)
|> render StatusView, "index.json", %{activities: activities, for: user, as: :activity} |> render(StatusView, "index.json", %{activities: activities, for: user, as: :activity})
end end
def public_timeline(%{assigns: %{user: user}} = conn, params) do def public_timeline(%{assigns: %{user: user}} = conn, params) do