From 0df4a0f26d96442d80afed1d332602269e29b65e Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 12 Sep 2017 08:53:21 +0200 Subject: [PATCH] Add parentheses. --- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2