diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-10-25 05:18:10 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-10-25 05:24:03 +0200 |
commit | b0a940d5a2cc4863dcd47ff04223ad1d125fcff3 (patch) | |
tree | 7abc5816e66307f931d6a886f3d202d4b4257d75 | |
parent | 2da0ffeb286b58c62dd005db55e7d089a02380ed (diff) | |
download | pleroma-b0a940d5a2cc4863dcd47ff04223ad1d125fcff3.tar.gz |
[Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |