From: Haelwenn (lanodan) Monnier Date: Thu, 25 Oct 2018 03:18:10 +0000 (+0200) Subject: [Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b0a940d5a2cc4863dcd47ff04223ad1d125fcff3;p=akkoma [Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments --- diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index a0706cb6a..8ffaf8466 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -159,7 +159,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do } end - def render("status.json", %{activity: %{data: %{"object" => object}} = activity} = opts) do + def render("status.json", _) do nil end