aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-10-25 05:18:10 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-10-25 05:24:03 +0200
commitb0a940d5a2cc4863dcd47ff04223ad1d125fcff3 (patch)
tree7abc5816e66307f931d6a886f3d202d4b4257d75
parent2da0ffeb286b58c62dd005db55e7d089a02380ed (diff)
downloadpleroma-b0a940d5a2cc4863dcd47ff04223ad1d125fcff3.tar.gz
[Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex2
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