TimetableAPI-Upgrade #64

Merged
fred.boniface merged 36 commits from TimetableAPI-Upgrade into main 2024-02-11 15:53:17 +00:00
Showing only changes of commit e1ba881be4 - Show all commits

View File

@ -98,7 +98,7 @@ async function fetchPisCode(
} }
// Check if no public stops - then it should use an ECS headcode // Check if no public stops - then it should use an ECS headcode
let pisData: OB_Pis_SimpleObject | null let pisData: OB_Pis_SimpleObject | null
if (tiplocList) { if (tiplocList.length) {
pisData = await findByTiplocArray(tiplocList); pisData = await findByTiplocArray(tiplocList);
} else { } else {
pisData = { pisData = {