Beautiful Open-Source Form Builder
Fix subscription route
Julien Nahum2babb5c6376a
diff --git a/client/components/pages/pricing/CheckoutDetailsModal.vue b/client/components/pages/pricing/CheckoutDetailsModal.vueindex c9d639d51..67b5203c1 100644--- a/client/components/pages/pricing/CheckoutDetailsModal.vue+++ b/client/components/pages/pricing/CheckoutDetailsModal.vue@@ -78,7 +78,7 @@ export default {},saveDetails () {if (this.form.busy) return- this.form.put('api/subscription/update-customer-details').then(() => {+ this.form.put('subscription/update-customer-details').then(() => {this.loading = trueopnFetch('/subscription/new/' + this.plan + '/' + (!this.yearly ? 'monthly' : 'yearly') + '/checkout/with-trial').then((data) => {window.location = data.checkout_url