Add parentheses.
authorRoger Braun <roger@rogerbraun.net>
Tue, 12 Sep 2017 06:53:21 +0000 (08:53 +0200)
committerRoger Braun <roger@rogerbraun.net>
Tue, 12 Sep 2017 06:53:21 +0000 (08:53 +0200)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

index c385f0f962d26e7d4c29156c3e546407c6f4f6b7..1570af0f78fc95a146f4e776ff0bf1c90584c4d3 100644 (file)
@@ -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