Adjust how serviceDetail is presented

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2024-04-23 15:08:16 +01:00
parent d98b560584
commit 09f883a461

View File

@ -5,7 +5,6 @@ import type {
OB_TrainTT_stopDetail,
Stop,
} from "@owlboard/ts-types";
import { logger } from "../../logger.utils";
export function formatTimetableDetail(
service: Service,
@ -22,10 +21,7 @@ export function formatTimetableDetail(
scheduleEnd: service.scheduleEndDate,
daysRun: service.daysRun,
stops: formatStops(service.stops),
vstp: service.vstp,
firstClass: service.firstClass,
catering: service.catering,
sleeper: service.sleeper,
serviceDetail: service.serviceDetail,
};
if (pis) {