Skip to content

Commit

Permalink
fix: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmacdonald committed Aug 16, 2018
1 parent 44d35c4 commit ea55106
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ function fetchWithTimeout(url, config = {headers: {'Accept': 'application/json'}
)
}

// note that this method is exposed on the npm module to simplify testing,
// i.e., to allow intercepting the HTTP call during testing, using sinon or similar.
function getPlaceLookupURI(queryString) {
// http://api.geonames.org/searchJSON?q=london&maxRows=10&username=demo
return `https://secure.geonames.org/searchJSON?q=${encodeURIComponent(queryString)}&username=cwrcgeonames&maxRows=10`
}

Expand Down

0 comments on commit ea55106

Please sign in to comment.