Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 91bb18e4c9 |
@@ -44,6 +44,7 @@ export default function UpdateProfile({accountInfo}) {
|
|||||||
console.log(error)
|
console.log(error)
|
||||||
},
|
},
|
||||||
onSuccess: (res) => {
|
onSuccess: (res) => {
|
||||||
|
console.log('res', res)
|
||||||
// if(res?.data?.resultCode != '0') {
|
// if(res?.data?.resultCode != '0') {
|
||||||
// throw new Error(res?.data?.message || res?.data?.resultDescription || 'An error occurred while updating profile')
|
// throw new Error(res?.data?.message || res?.data?.resultDescription || 'An error occurred while updating profile')
|
||||||
// }
|
// }
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export const updateUserProfile = (reqData) => {
|
|||||||
let postData = {
|
let postData = {
|
||||||
...reqData
|
...reqData
|
||||||
}
|
}
|
||||||
return postAuxEnd('/office/update-profile', postData, false)
|
return postAuxEnd('/update-profile', postData, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION TO GET PRODUCTS TEMPLATE DATA
|
// FUNCTION TO GET PRODUCTS TEMPLATE DATA
|
||||||
|
|||||||
Reference in New Issue
Block a user