Removed on time column for now

- Added origin and destination columns
This commit is contained in:
Tony Bark 2026-08-23 07:12:40 -04:00
parent f0b71b3762
commit 6f8cca9dc9
3 changed files with 38 additions and 17 deletions

View file

@ -36,7 +36,10 @@ struct AmtrakClient {
}
func trainNumber(fromTrainId trainId: String) -> String {
trainId.split(separator: "-").first.map(String.init) ?? trainId
trainId
.split(separator: "-")
.first
.map(String.init) ?? trainId
}
func fetchStationTrainNumbers(stationCode code: String) async throws -> [String] {