From b5183204e917df5d305d08f6cc0642de2d48a9d5 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Fri, 21 Feb 2020 10:40:41 +0800 Subject: [PATCH] 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 --- core/server/api/canary/utils/serializers/output/members.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/api/canary/utils/serializers/output/members.js b/core/server/api/canary/utils/serializers/output/members.js index 2c34056a32..374cf245b5 100644 --- a/core/server/api/canary/utils/serializers/output/members.js +++ b/core/server/api/canary/utils/serializers/output/members.js @@ -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) {