Skip to content

Commit

Permalink
Mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Nov 15, 2020
1 parent 0af1954 commit dedc987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/geocoder/providers/google_maps.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ defmodule Geocoder.Providers.GoogleMaps do
end

defp request_all(path, params) do
params = Keyword.merge(params, key: params[:key] || Application.get_env(:geocoder, :worker)[:key])
params =
Keyword.merge(params, key: params[:key] || Application.get_env(:geocoder, :worker)[:key])

httpoison_options = Application.get_env(:geocoder, Geocoder.Worker)[:httpoison_options] || []

case get(path, [], Keyword.merge(httpoison_options, params: Enum.into(params, %{}))) do
Expand Down

0 comments on commit dedc987

Please sign in to comment.