parseLine: don't use p.nameS 🐛

This commit is contained in:
Jannis R 2018-09-03 16:17:17 +02:00
parent 5cb2b4f049
commit d69c01ba14
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -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.