mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
Fix glob processing in npm. Ban single param parens (#818)
This commit is contained in:
@@ -78,7 +78,7 @@ export class PremiumComponent implements OnInit {
|
||||
return this.finalizePremium();
|
||||
});
|
||||
} else {
|
||||
this.formPromise = this.paymentComponent.createPaymentToken().then((result) => {
|
||||
this.formPromise = this.paymentComponent.createPaymentToken().then(result => {
|
||||
const fd = new FormData();
|
||||
fd.append('paymentMethodType', result[1].toString());
|
||||
if (result[0] != null) {
|
||||
@@ -88,7 +88,7 @@ export class PremiumComponent implements OnInit {
|
||||
fd.append('country', this.taxInfoComponent.taxInfo.country);
|
||||
fd.append('postalCode', this.taxInfoComponent.taxInfo.postalCode);
|
||||
return this.apiService.postPremium(fd);
|
||||
}).then((paymentResponse) => {
|
||||
}).then(paymentResponse => {
|
||||
if (!paymentResponse.success && paymentResponse.paymentIntentClientSecret != null) {
|
||||
return this.paymentComponent.handleStripeCardPayment(paymentResponse.paymentIntentClientSecret,
|
||||
() => this.finalizePremium());
|
||||
|
||||
Reference in New Issue
Block a user