revert to septa api for rt tracking

This commit is contained in:
Nicholas Orlowsky 2025-11-08 13:12:07 -05:00
parent f407992035
commit a335f14b14
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
18 changed files with 535 additions and 355 deletions

View file

@ -97,7 +97,10 @@ impl TripTrackingService {
delay: live_track.delay,
next_stop_id: live_track.next_stop_id,
timestamp: live_track.timestamp,
vehicle_id: live_track.vehicle_id
vehicle_ids: match live_track.vehicle_id {
Some(x) => x.split(",").map(|f| String::from(f)).collect(),
None => vec![]
}
}
)
}