Skip to content

Commit

Permalink
locations: default opt.results to 5 💥 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 28, 2019
1 parent 88c78c2 commit 3bc2eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With `opt`, you can override the default options, which look like this:
```js
{
fuzzy: true // find only exact matches?
, results: 10 // how many search results?
, results: 5 // how many search results?
, stations: true
, addresses: true
, poi: true // points of interest
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const createClient = (profile, userAgent, request = _request) => {
}
opt = Object.assign({
fuzzy: true, // find only exact matches?
results: 10, // how many search results?
results: 5, // how many search results?
stations: true,
addresses: true,
poi: true, // points of interest
Expand Down

0 comments on commit 3bc2eff

Please sign in to comment.