Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex

This commit is contained in:
lain 2020-04-29 19:47:16 +00:00
parent 89a6c34081
commit 589ce1e96b

View file

@ -650,9 +650,6 @@ def handle_incoming(
with {:ok, %User{}} <- ObjectValidator.fetch_actor(data),
{:ok, activity, _} <- Pipeline.common_pipeline(data, local: false) do
{:ok, activity}
else
e ->
e
end
end