mirror of
https://github.com/itsdave-de/fusionpbx_connect.git
synced 2025-05-06 15:45:15 +02:00
redo api trips name
This commit is contained in:
parent
ccfa381875
commit
9e95b66928
@ -79,7 +79,7 @@ def get_trips_for_device(device_id, start=None, end=None):
|
||||
# get all trips from traccar server
|
||||
try:
|
||||
trips_response = requests.get(
|
||||
f"http://{ts.traccar_server}:{ts.traccar_port}/api/reports/route",
|
||||
f"http://{ts.traccar_server}:{ts.traccar_port}/api/reports/trips",
|
||||
cookies=traccar_auth(ts),
|
||||
params={
|
||||
'deviceId': device_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user