signup endpoint bug fixed
This commit was merged in pull request #123.
This commit is contained in:
@@ -34,8 +34,8 @@ const postAuxEnd = (path, postData, media=false) => {
|
|||||||
return axios.post(`${basePath}${path}`, newPostData).then(res => {
|
return axios.post(`${basePath}${path}`, newPostData).then(res => {
|
||||||
return res
|
return res
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
// throw new Error(err.response.data.error_message);
|
throw new Error(err.response.data.error_message);
|
||||||
throw new Error(err);
|
// throw new Error(err);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user