code style

This commit is contained in:
Julius Tens 2018-03-18 13:01:07 +01:00
parent 269a2524fb
commit 61325bdb13

View file

@ -85,8 +85,7 @@ const createParseJourney = (profile, stations, lines, remarks) => {
if (v.prc && Number.isInteger(v.prc) && v.cur) { if (v.prc && Number.isInteger(v.prc) && v.cur) {
ticket.amount = v.prc/100 ticket.amount = v.prc/100
ticket.currency = v.cur ticket.currency = v.cur
} } else {
else {
ticket.amount = null ticket.amount = null
ticket.hint = 'No pricing information available.' ticket.hint = 'No pricing information available.'
} }