Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Sep 6, 2019
1 parent 5598e45 commit 121a983
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/src/lib/stores/app-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5033,11 +5033,16 @@ export class AppStore extends TypedBaseStore<IAppState> {
this.isShowing3DSecure = true
this.emitUpdate()

const { error } = await stripe.handleCardPayment(result.paymentIntentSecret)
const { error } = await stripe.handleCardPayment(
result.paymentIntentSecret
)

this.isShowing3DSecure = false
if (!error) {
await this.accountsStore.unlockKactusForAccount(user, options.enterprise)
await this.accountsStore.unlockKactusForAccount(
user,
options.enterprise
)
}
} else if (result.ok) {
await this.accountsStore.unlockKactusForAccount(user, options.enterprise)
Expand Down

0 comments on commit 121a983

Please sign in to comment.