Browse Source

Apply suggestion to lib/pleroma/http/adapter.ex

debug-remote-ip
Alexander Strizhakov 4 years ago
parent
commit
a3ad028973
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/http/adapter.ex

+ 1
- 1
lib/pleroma/http/adapter.ex View File

@@ -57,7 +57,7 @@ defmodule Pleroma.HTTP.Adapter do
{:error, :einval} ->
{:domain, :idna.encode(charlist)}

{:ok, ip} when is_tuple(ip) and tuple_size(ip) in [4, 8] ->
{:ok, ip} ->
{:ip, ip}
end
end


Loading…
Cancel
Save