refactoring

This commit is contained in:
Čarodej
2022-05-18 08:51:28 +02:00
parent e87e2ec4e3
commit 3c28da2613
5 changed files with 5 additions and 6 deletions

View File

@@ -139,7 +139,7 @@ export default {
planCode: this.selectedPlan.data.meta.driver_plan_id.stripe,
})
.then((response) => {
window.location = response.data.url
window.location = response.data.data.url
})
.catch((error) => {
if (error.response.status === 500 && error.response.data.type) {