City-of-Helsinki / maritime-maas

MIT License
0 stars 3 forks source link

Use existing real data in mock ticket API confirm response #57

Closed tuomas777 closed 3 years ago

tuomas777 commented 3 years ago

Changed the mock ticket API confirm endpoint to return ticket data based on real data in the DB. Route is pretty much the only object we can actually determine from a booking when confirming (and even that uses lousy name matching), so other types of objects are just some instances related to the route, not necessary the ones used when creating the booking.

tuomas777 commented 3 years ago

Actually, we don't really need this to be merged.