Skip to content

Commit

Permalink
[MDS-5273] Fixing import issue (#2621)
Browse files Browse the repository at this point in the history
* fixing import issue

* reverting the recent changes

* fixing invalid json issue
  • Loading branch information
isuru-aot authored Aug 10, 2023
1 parent 3dfefe4 commit bde2c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/minespace-web/src/components/common/FileUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class FileUpload extends React.Component {
},
onError: (err) => {
try {
err.response = JSON.parse(err.originalRequest.response);
err.response = JSON.parse(err.originalRequest.getUnderlyingObject().response);
err.originalRequest = err.originalRequest;

if (
Expand Down

0 comments on commit bde2c03

Please sign in to comment.