Skip to content
Permalink
Browse files

fix(payments): fix subscription create route with missing awaits

  • Loading branch information
lmorchard committed Feb 13, 2020
1 parent aebff31 commit 3a39a7a29786f5170cb7dba6043c3e88926dfeb1
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/fxa-auth-server/lib/routes/subscriptions.js
@@ -104,15 +104,15 @@ class DirectStripeRoutes {
let subscription;

if (!customer) {
subscription = this.createSubscriptionNewCustomer(
subscription = await this.createSubscriptionNewCustomer(
uid,
email,
displayName,
paymentToken,
selectedPlan
);
} else {
subscription = this.createSubscriptionExistingCustomer(
subscription = await this.createSubscriptionExistingCustomer(
customer,
paymentToken,
selectedPlan

0 comments on commit 3a39a7a

Please sign in to comment.
You can’t perform that action at this time.