Skip to content

Commit

Permalink
eds-400 test update error function
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Sep 18, 2024
1 parent 46c74ee commit 7add8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dropins.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const handleUserOrdersRedirects = () => {

if (error.includes(defaultErrorMessage)) {
console.log("defaultErrorMessage", 1);
window.location.href = `${ORDER_STATUS_PATH}${ORDER_REF_URL_QUERY}`;
window.location.href = `${ORDER_DETAILS_PATH}${ORDER_REF_URL_QUERY}`;
} else if (isAuthenticated) {
console.log("defaultErrorMessage", 2);
window.location.href = `${CUSTOMER_ORDERS_PATH}`;
Expand Down

0 comments on commit 7add8e1

Please sign in to comment.