Skip to content
Snippets Groups Projects
Unverified Commit c8214e09 authored by Mathias Hansen's avatar Mathias Hansen Committed by GitHub
Browse files

Update geocod.io to use most recent API version

parent cf37a716
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ module Geocoder::Lookup
def query_url(query)
path = query.reverse_geocode? ? "reverse" : "geocode"
"#{protocol}://api.geocod.io/v1/#{path}?#{url_query_string(query)}"
"#{protocol}://api.geocod.io/v1.2/#{path}?#{url_query_string(query)}"
end
def results(query)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment