Fix error response which was breaking tests related to pinned posts
This commit is contained in:
parent
15f87cf658
commit
efed94a23e
@ -415,7 +415,7 @@ defmodule Pleroma.Web.CommonAPI do
|
|||||||
) do
|
) do
|
||||||
{:ok, activity}
|
{:ok, activity}
|
||||||
else
|
else
|
||||||
{:error, {:execute_side_effects, error}} -> error
|
{:error, {:side_effects, error}} -> error
|
||||||
error -> error
|
error -> error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user