From 2c001426cab2cdc49049061a77499d683f71e098 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 7 Jun 2023 23:40:20 +0100 Subject: [PATCH] Fix object properties --- js/train-detail.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/train-detail.js b/js/train-detail.js index e7651bc..e60dd33 100644 --- a/js/train-detail.js +++ b/js/train-detail.js @@ -60,9 +60,9 @@ async function displayOne(object) { async function createStopTableRow(stop) { return ` - ${stop['TIPLOC']} - ${stop['arrivalTime']} - ${stop['departureTime']} + ${stop['tiploc']} + ${stop['publicArrival']} + ${stop['publicDeparture']} ` } \ No newline at end of file