TimetableAPI-Upgrade #64
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user