diff --git a/apps/algolia/lib/algolia/routes.ex b/apps/algolia/lib/algolia/routes.ex index 6ae2b58326..14ed9f4123 100644 --- a/apps/algolia/lib/algolia/routes.ex +++ b/apps/algolia/lib/algolia/routes.ex @@ -11,7 +11,7 @@ defmodule Algolia.Routes do end @impl Algolia.Index - def index_name, do: "routes" <> Application.get_env(:algolia, :index_suffix, "") + def index_name, do: "routes" @spec get_stop_names(Routes.Route.t()) :: [String.t()] def get_stop_names(route) do diff --git a/apps/algolia/lib/algolia/stops.ex b/apps/algolia/lib/algolia/stops.ex index aaeca29c66..183ee78d62 100644 --- a/apps/algolia/lib/algolia/stops.ex +++ b/apps/algolia/lib/algolia/stops.ex @@ -11,7 +11,7 @@ defmodule Algolia.Stops do end @impl Algolia.Index - def index_name, do: "stops" <> Application.get_env(:algolia, :index_suffix, "") + def index_name, do: "stops" def by_route(route_id), do: @repo.by_route({route_id, 0, []}) end