Fix subscription route

This commit is contained in:
Julien Nahum 2024-01-24 17:30:59 +01:00
parent 437ec1c811
commit 2babb5c637
1 changed files with 1 additions and 1 deletions

View File

@ -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