forked from potsda.mn/mobilizon
Fix warnings in akismet service
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
61441efbf7
commit
cfa1754ab5
|
@ -192,7 +192,7 @@ defmodule Mobilizon.Service.Akismet do
|
||||||
{email, ip} ->
|
{email, ip} ->
|
||||||
{preferred_username, email, ip}
|
{preferred_username, email, ip}
|
||||||
|
|
||||||
err ->
|
_ ->
|
||||||
{:error, :invalid_actor}
|
{:error, :invalid_actor}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -205,7 +205,7 @@ defmodule Mobilizon.Service.Akismet do
|
||||||
{nil, preferred_username, "127.0.0.1"}
|
{nil, preferred_username, "127.0.0.1"}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp actor_details(err) do
|
defp actor_details(_) do
|
||||||
{:error, :invalid_actor}
|
{:error, :invalid_actor}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue