Skip to content

Commit

Permalink
fix(directory): re-add a missing negotiator redirect (#4180)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxPostema authored Sep 4, 2024
1 parent 5c98fdf commit a859510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/directory/src/stores/checkoutStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ export const useCheckoutStore = defineStore("checkoutStore", () => {
} else {
throw new Error("Negotiator is not available. Please try again later.");
}

const body = await response.json();
window.location.href = body.redirect_uri;
}

return {
Expand Down

0 comments on commit a859510

Please sign in to comment.