From: lain Date: Wed, 3 Jun 2020 12:40:44 +0000 (+0200) Subject: FollowingRelationship: Remove meaningless change X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=903955b189561d3a95d5955feda723999078b894;p=akkoma FollowingRelationship: Remove meaningless change --- diff --git a/lib/pleroma/following_relationship.ex b/lib/pleroma/following_relationship.ex index 0343a20d4..3a3082e72 100644 --- a/lib/pleroma/following_relationship.ex +++ b/lib/pleroma/following_relationship.ex @@ -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