From 02990ce7e5f9f31ee2e53218fe3bfcdaf17bbf5c Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Mon, 25 Jan 2021 15:32:45 +0000 Subject: [PATCH] Removed unused upsertCustomer method --- ghost/members-api/lib/repositories/member/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ghost/members-api/lib/repositories/member/index.js b/ghost/members-api/lib/repositories/member/index.js index ff0b578637..1e4fc2937f 100644 --- a/ghost/members-api/lib/repositories/member/index.js +++ b/ghost/members-api/lib/repositories/member/index.js @@ -115,15 +115,6 @@ module.exports = class MemberRepository { }, options); } - async upsertCustomer(data) { - return await this._StripeCustomer.upsert({ - customer_id: data.customer_id, - member_id: data.member_id, - name: data.name, - email: data.email - }); - } - async linkStripeCustomer(data, options) { if (!this._stripeAPIService.configured) { throw new Error('Cannot link Stripe Customer with no Stripe Connection');