From 8631710b68f05f7ada2ea798c22945198a10cf28 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 26 Jan 2021 15:50:28 +0000 Subject: [PATCH] Fixed Members importer usage of linkStripeCustomer no-issue The method signature was updated in the refactor and this was missed --- core/server/services/members/importer/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/server/services/members/importer/index.js b/core/server/services/members/importer/index.js index 30a2599ea6..bbc95da2c4 100644 --- a/core/server/services/members/importer/index.js +++ b/core/server/services/members/importer/index.js @@ -141,7 +141,10 @@ module.exports = class MembersCSVImporter { } 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(); return {