From: Roger Braun Date: Tue, 12 Sep 2017 06:53:21 +0000 (+0200) Subject: Add parentheses. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0df4a0f26d96442d80afed1d332602269e29b65e;p=akkoma Add parentheses. --- diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index c385f0f96..1570af0f7 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -59,7 +59,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do conn |> 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 def public_timeline(%{assigns: %{user: user}} = conn, params) do