Added missing frame parameter in member mapper

no issue

- This is not causing any bugs but the frame should always be passed in into the mapper to avoid unintended bugs
This commit is contained in:
Nazar Gargol 2020-02-21 10:40:41 +08:00
parent 2f55baccd7
commit b5183204e9

View File

@ -50,7 +50,7 @@ module.exports = {
const fields = ['id', 'email', 'name', 'note', 'subscribed_to_emails', 'complimentary_plan', 'stripe_customer_id', 'created_at', 'deleted_at', 'labels'];
models.members = models.members.map((member) => {
member = mapper.mapMember(member);
member = mapper.mapMember(member, frame);
let stripeCustomerId;
if (member.stripe) {