1
0
Fork 0
forked from AkkomaGang/akkoma

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 ) 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