Merge branch 'signup-endpoint-fix' of MERMS/MermsPanelReactJS into master
This commit is contained in:
@@ -34,8 +34,8 @@ const postAuxEnd = (path, postData, media=false) => {
|
||||
return axios.post(`${basePath}${path}`, newPostData).then(res => {
|
||||
return res
|
||||
}).catch(err => {
|
||||
// throw new Error(err.response.data.error_message);
|
||||
throw new Error(err);
|
||||
throw new Error(err.response.data.error_message);
|
||||
// throw new Error(err);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user