Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
authorlain <lain@soykaf.club>
Wed, 29 Apr 2020 19:47:16 +0000 (19:47 +0000)
committerlain <lain@soykaf.club>
Wed, 29 Apr 2020 19:47:16 +0000 (19:47 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 6dbd3f588af24882db57c7d9ae63a94af5ba9a32..d3a2e036246a13cfc8df0bf1e334b9401c8fd8a9 100644 (file)
@@ -650,9 +650,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
     with {:ok, %User{}} <- ObjectValidator.fetch_actor(data),
          {:ok, activity, _} <- Pipeline.common_pipeline(data, local: false) do
       {:ok, activity}
-    else
-      e ->
-        e
     end
   end