diff --git a/lib/service/geospatial/photon.ex b/lib/service/geospatial/photon.ex index 80ec2ef01..e4b5d0614 100644 --- a/lib/service/geospatial/photon.ex +++ b/lib/service/geospatial/photon.ex @@ -1,6 +1,6 @@ defmodule Mobilizon.Service.Geospatial.Photon do @moduledoc """ - [Photon](https://photon.komoot.de) backend. + [Photon](https://photon.komoot.io) backend. """ alias Mobilizon.Addresses.Address diff --git a/test/service/geospatial/photon_test.exs b/test/service/geospatial/photon_test.exs index d0a9b512e..37a7856fb 100644 --- a/test/service/geospatial/photon_test.exs +++ b/test/service/geospatial/photon_test.exs @@ -17,13 +17,14 @@ defmodule Mobilizon.Service.Geospatial.PhotonTest do |> expect(:call, fn %{ method: :get, - url: "https://photon.komoot.de/api/?q=10%20rue%20Jangot&lang=en&limit=10" + url: "https://photon.komoot.io/api/?q=10%20rue%20Jangot&lang=en&limit=10" }, _opts -> {:ok, %Tesla.Env{status: 200, body: data}} end) assert %Address{ + origin_id: "photon:3078260611", locality: "Lyon", description: "10 Rue Jangot", region: "Auvergne-Rhône-Alpes",