Fix error response which was breaking tests related to pinned posts

This commit is contained in:
Mark Felder 2021-04-19 16:23:57 -05:00
parent 15f87cf658
commit efed94a23e

View file

@ -415,7 +415,7 @@ def pin(id, %User{} = user) do
) do
{:ok, activity}
else
{:error, {:execute_side_effects, error}} -> error
{:error, {:side_effects, error}} -> error
error -> error
end
end