From 2babb5c6376aa4658646083c15db1e30cca5fac7 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Wed, 24 Jan 2024 17:30:59 +0100 Subject: [PATCH] Fix subscription route --- client/components/pages/pricing/CheckoutDetailsModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/pages/pricing/CheckoutDetailsModal.vue b/client/components/pages/pricing/CheckoutDetailsModal.vue index c9d639d..67b5203 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 = true opnFetch('/subscription/new/' + this.plan + '/' + (!this.yearly ? 'monthly' : 'yearly') + '/checkout/with-trial').then((data) => { window.location = data.checkout_url