mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Removed unused upsertCustomer method
This commit is contained in:
parent
5cae43b032
commit
02990ce7e5
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user