Fix error response which was breaking tests related to pinned posts
This commit is contained in:
parent
15f87cf658
commit
efed94a23e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue