locations: default opt.results to 5 💥 📝

This commit is contained in:
Jannis R 2018-12-07 17:00:24 +01:00
parent 88c78c243f
commit 3bc2eff530
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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