FollowingRelationship: Remove meaningless change

stable
lain 4 years ago
parent 7b79871e97
commit 903955b189

@ -62,13 +62,10 @@ defmodule Pleroma.FollowingRelationship do
follow(follower, following, state)
following_relationship ->
{:ok, relationship} =
following_relationship
|> cast(%{state: state}, [:state])
|> validate_required([:state])
|> Repo.update()
{:ok, relationship}
following_relationship
|> cast(%{state: state}, [:state])
|> validate_required([:state])
|> Repo.update()
end
end

Loading…
Cancel
Save