Use correct IP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c72f050993
commit
e07f88277b
@ -12,7 +12,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Config do
|
|||||||
"""
|
"""
|
||||||
@spec get_config(any(), map(), Absinthe.Resolution.t()) :: {:ok, map()}
|
@spec get_config(any(), map(), Absinthe.Resolution.t()) :: {:ok, map()}
|
||||||
def get_config(_parent, _params, %{context: %{ip: ip}}) do
|
def get_config(_parent, _params, %{context: %{ip: ip}}) do
|
||||||
ip = "2a01:e0a:184:2000:1112:e19d:9779:88c8"
|
# ip = "2a01:e0a:184:2000:1112:e19d:9779:88c8"
|
||||||
geolix = Geolix.lookup(ip)
|
geolix = Geolix.lookup(ip)
|
||||||
|
|
||||||
country_code =
|
country_code =
|
||||||
|
Loading…
Reference in New Issue
Block a user