Fix error response which was breaking tests related to pinned posts
This commit is contained in:
parent
15f87cf658
commit
efed94a23e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue