mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
parseLine: don't use p.nameS 🐛
This commit is contained in:
parent
5cb2b4f049
commit
d69c01ba14
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const createParseLine = (profile, opt, {operators}) => {
|
||||||
|
|
||||||
const parseLine = (p) => {
|
const parseLine = (p) => {
|
||||||
if (!p) return null // todo: handle this upstream
|
if (!p) return null // todo: handle this upstream
|
||||||
const name = p.line || p.nameS || p.name || null
|
const name = p.line || p.name || null
|
||||||
const res = {
|
const res = {
|
||||||
type: 'line',
|
type: 'line',
|
||||||
// This is terrible, but FPTF demands an ID. Let's pray for HAFAS.
|
// This is terrible, but FPTF demands an ID. Let's pray for HAFAS.
|
||||||
|
|
Loading…
Add table
Reference in a new issue