style: unused variable

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-06-20 14:59:57 +02:00
parent ca06ec397f
commit 96b4ef08c6
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -26,7 +26,7 @@ defmodule Mobilizon.Federation.ActivityPub.Relay do
relay = get_actor() relay = get_actor()
unless Regex.match?(~r/BEGIN RSA PRIVATE KEY/, relay.keys) do unless Regex.match?(~r/BEGIN RSA PRIVATE KEY/, relay.keys) do
{:ok, relay} = Actors.actor_key_rotation(relay) {:ok, _relay} = Actors.actor_key_rotation(relay)
end end
relay relay