Fix error response which was breaking tests related to pinned posts
authorMark Felder <feld@feld.me>
Mon, 19 Apr 2021 21:23:57 +0000 (16:23 -0500)
committerMark Felder <feld@feld.me>
Mon, 19 Apr 2021 21:23:57 +0000 (16:23 -0500)
lib/pleroma/web/common_api.ex

index 3970c19a86b1e07e3ef190b3b32f029d4b2f6456..1b5f8491efa0ddff51ce3d7769f50ec208df3a5a 100644 (file)
@@ -415,7 +415,7 @@ defmodule Pleroma.Web.CommonAPI do
            ) do
       {:ok, activity}
     else
-      {:error, {:execute_side_effects, error}} -> error
+      {:error, {:side_effects, error}} -> error
       error -> error
     end
   end