0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed Members importer usage of linkStripeCustomer

no-issue

The method signature was updated in the refactor and this was missed
This commit is contained in:
Fabien O'Carroll 2021-01-26 15:50:28 +00:00 committed by Rishabh Garg
parent 0e08ce1612
commit 8631710b68

View file

@ -141,7 +141,10 @@ module.exports = class MembersCSVImporter {
} }
if (row.stripe_customer_id) { if (row.stripe_customer_id) {
await membersApi.members.linkStripeCustomer(row.stripe_customer_id, member, options); await membersApi.members.linkStripeCustomer({
customer_id: row.stripe_customer_id,
member_id: member.id
}, options);
} }
await trx.commit(); await trx.commit();
return { return {