Skip to content

Commit

Permalink
Merge pull request #789 from AI4Bharat/timebox-fix
Browse files Browse the repository at this point in the history
disable error for video link failure
  • Loading branch information
aparna-aa authored Aug 11, 2024
2 parents abaecf2 + 0128a58 commit 5df5d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/redux/actions/apitransport/apitransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ const error = (err, api, dispatch) => {
api.processNextErrorStep();
}

if(api.type !== "GET_VIDEO_DETAILS"){
dispatch(
setSnackBar({
open: true,
message: errorMsg,
variant: "error",
})
);
}

if (status === 401 && api.type !== "GET_USER_ACCESS_TOKEN") {
window.location.replace("/#/login");
Expand Down

0 comments on commit 5df5d33

Please sign in to comment.