mirror of
				https://github.com/itsdave-de/fusionpbx_connect.git
				synced 2025-11-03 13:41:08 -03:00 
			
		
		
		
	change api name
This commit is contained in:
		
							parent
							
								
									89f9a22909
								
							
						
					
					
						commit
						26529c58d9
					
				@ -79,7 +79,7 @@ def get_trips_for_device(device_id, start=None, end=None):
 | 
				
			|||||||
    # get all trips from traccar server
 | 
					    # get all trips from traccar server
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
        trips_response = requests.get(
 | 
					        trips_response = requests.get(
 | 
				
			||||||
            f"http://{ts.traccar_server}:{ts.traccar_port}/api/reports/trips",
 | 
					            f"http://{ts.traccar_server}:{ts.traccar_port}/api/reports/trip",
 | 
				
			||||||
            cookies=traccar_auth(ts),
 | 
					            cookies=traccar_auth(ts),
 | 
				
			||||||
            params={
 | 
					            params={
 | 
				
			||||||
                'deviceId': device_id,
 | 
					                'deviceId': device_id,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user