mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
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:
parent
2f55baccd7
commit
b5183204e9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user