public-transport / hafas-client

JavaScript client for HAFAS public transport APIs.
ISC License
278 stars 54 forks source link

fix db price parsing #241

Closed yu-re-ka closed 3 years ago

yu-re-ka commented 3 years ago

Unfortunately DB does not return price information for refreshJourney, even when tickets: true.

derhuerst commented 3 years ago

I can confirm that the DB endpoint returns the new price information.

Can you adapt the unit test fixtures? You can check if the unit tests are running with npm run test-unit.

yu-re-ka commented 3 years ago

Should I just change the existing fixtures to match the new price formatting or create new ones? If I should create new ones, how do I find a journey with a DEVI leg?

derhuerst commented 3 years ago

Just adapt the fixture.

yu-re-ka commented 3 years ago

done

derhuerst commented 3 years ago

Thanks!

derhuerst commented 3 years ago

Published as hafas-client@5.19.0. 🎉