mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			157 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			157 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								const formatTripReq = ({profile, opt}, id) => {
							 | 
						||
| 
								 | 
							
									return {
							 | 
						||
| 
								 | 
							
										endpoint: profile.tripEndpoint,
							 | 
						||
| 
								 | 
							
										path: id,
							 | 
						||
| 
								 | 
							
										method: 'get',
							 | 
						||
| 
								 | 
							
									};
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export {
							 | 
						||
| 
								 | 
							
									formatTripReq,
							 | 
						||
| 
								 | 
							
								};
							 |