mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Removed unused upsertCustomer method
This commit is contained in:
parent
5cae43b032
commit
02990ce7e5
1 changed files with 0 additions and 9 deletions
|
@ -115,15 +115,6 @@ module.exports = class MemberRepository {
|
||||||
}, options);
|
}, 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) {
|
async linkStripeCustomer(data, options) {
|
||||||
if (!this._stripeAPIService.configured) {
|
if (!this._stripeAPIService.configured) {
|
||||||
throw new Error('Cannot link Stripe Customer with no Stripe Connection');
|
throw new Error('Cannot link Stripe Customer with no Stripe Connection');
|
||||||
|
|
Loading…
Add table
Reference in a new issue