Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
This commit is contained in:
parent
89a6c34081
commit
589ce1e96b
@ -650,9 +650,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||||||
with {:ok, %User{}} <- ObjectValidator.fetch_actor(data),
|
with {:ok, %User{}} <- ObjectValidator.fetch_actor(data),
|
||||||
{:ok, activity, _} <- Pipeline.common_pipeline(data, local: false) do
|
{:ok, activity, _} <- Pipeline.common_pipeline(data, local: false) do
|
||||||
{:ok, activity}
|
{:ok, activity}
|
||||||
else
|
|
||||||
e ->
|
|
||||||
e
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user