Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which way to indicate child? isChild or child? #428

Open
creduo opened this issue Aug 19, 2019 · 0 comments
Open

Which way to indicate child? isChild or child? #428

creduo opened this issue Aug 19, 2019 · 0 comments

Comments

@creduo
Copy link
Contributor

creduo commented Aug 19, 2019

There's two way to indicate a passenger is a children,

in Air/Services/transformer/add-meta-passengers-booking.js

      item.isChild = true;

in Air/Services/transformer/convert-passengers-object-to-array.js

          child: (ageCategory === 'CNN'), // quickfix

This makes really confusing, to them or to implement other features. Can you sort them out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants