TimetableAPI-Upgrade #64
@ -98,7 +98,7 @@ async function fetchPisCode(
|
||||
}
|
||||
// Check if no public stops - then it should use an ECS headcode
|
||||
let pisData: OB_Pis_SimpleObject | null
|
||||
if (tiplocList) {
|
||||
if (tiplocList.length) {
|
||||
pisData = await findByTiplocArray(tiplocList);
|
||||
} else {
|
||||
pisData = {
|
||||
|
Loading…
Reference in New Issue
Block a user