mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	Changed Journeys to Departures.
the endpoint which is discussed here is departures not journeys. If you use journeys with this parameters, you get mad with debugging.
This commit is contained in:
		
							parent
							
								
									c8a144427e
								
							
						
					
					
						commit
						16e6dd6d14
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ const vbbProfile = require('hafas-client/p/vbb')
 | 
			
		|||
const client = createClient(vbbProfile)
 | 
			
		||||
 | 
			
		||||
// S Charlottenburg
 | 
			
		||||
client.journeys('900000024101', {duration: 3})
 | 
			
		||||
client.departures('900000024101', {duration: 3})
 | 
			
		||||
.then(console.log)
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue