mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
code style
This commit is contained in:
parent
269a2524fb
commit
61325bdb13
1 changed files with 1 additions and 2 deletions
|
@ -85,8 +85,7 @@ const createParseJourney = (profile, stations, lines, remarks) => {
|
|||
if (v.prc && Number.isInteger(v.prc) && v.cur) {
|
||||
ticket.amount = v.prc/100
|
||||
ticket.currency = v.cur
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
ticket.amount = null
|
||||
ticket.hint = 'No pricing information available.'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue