Skip to content

Commit

Permalink
fix: redirect to /checkout/thanks if optedIn is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bedon committed Aug 2, 2024
1 parent b21c71b commit d0380c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Checkout/PostPurchase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default {
let successPath = route.query.challenge
? `/checkout/thanks/${route.query.challenge}` : '/thanks';
successPath = valetInviter ? '/checkout/thanks' : successPath;
successPath = valetInviter || optedIn ? '/checkout/thanks' : successPath;
// build route for thanks page redirect
const successRoute = {
Expand Down

0 comments on commit d0380c8

Please sign in to comment.