From 3bc2eff530fb94f866be84f4d6c06d56a8ac7ed8 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Fri, 7 Dec 2018 17:00:24 +0100 Subject: [PATCH] locations: default opt.results to 5 :boom: :memo: --- docs/locations.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/locations.md b/docs/locations.md index 169dd342..50f66ab6 100644 --- a/docs/locations.md +++ b/docs/locations.md @@ -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 diff --git a/index.js b/index.js index ef6e7958..af4bab4c 100644 --- a/index.js +++ b/index.js @@ -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