Skip to content
Snippets Groups Projects
Unverified Commit e087dc27 authored by Alex Reisner's avatar Alex Reisner Committed by GitHub
Browse files

Merge pull request #1398 from HatlamMe/patch-1

Correct param name for api key is "apikey"
parents a0828002 9374fc49
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ module Geocoder::Lookup
:geocode => q,
:format => "json",
:plng => "#{query.language || configuration.language}", # supports ru, uk, be
:key => configuration.api_key
:apikey => configuration.api_key
}
unless (bounds = query.options[:bounds]).nil?
params[:bbox] = bounds.map{ |point| "%f,%f" % point }.join('~')
......
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