mirror of
https://github.com/itsdave-de/fusionpbx_connect.git
synced 2025-05-06 23:55:21 +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
|
# 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/route",
|
f"http://{ts.traccar_server}:{ts.traccar_port}/api/reports/trips",
|
||||||
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