mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-10-31 08:06:33 +02:00 
			
		
		
		
	locations: default opt.results to 5 💥 📝
This commit is contained in:
		
							parent
							
								
									88c78c243f
								
							
						
					
					
						commit
						3bc2eff530
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
							
								
								
									
										2
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								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
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue