Credo fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-07-09 15:23:18 +02:00
parent e170aa7f66
commit 27d294ba6d
2 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ defmodule Eventos.Events do
import Geo.PostGIS
def find_close_events(lon, lat, radius \\ 50000) do # 50 000 meters -> 50 kms
def find_close_events(lon, lat, radius \\ 50_000) do # 50 000 meters -> 50 kms
ip_point = Geo.WKT.decode("SRID=4326;POINT(#{lon} #{lat})")
Repo.all(
from e in Event,