diff --git a/src/services/trainService.services.js b/src/services/trainService.services.js index f927814..9f5b1a9 100644 --- a/src/services/trainService.services.js +++ b/src/services/trainService.services.js @@ -25,7 +25,6 @@ async function findByHeadcodeToday(headcode) { let tiplocList = await getPublicStops(trainData[trainService]['stops']); const pisDetail = await pis.findByTiplocArray(tiplocList); trainData[trainService]['pis'] = pisDetail?.[0]?.['code'] ?? 'None'; - trainData[trainService]['publicStops'] = tiplocList; preparedData.push(trainData[trainService]); } return preparedData;