endpoint bug fixed
This commit is contained in:
@@ -44,6 +44,7 @@ export default function UpdateProfile({accountInfo}) {
|
||||
console.log(error)
|
||||
},
|
||||
onSuccess: (res) => {
|
||||
console.log('res', res)
|
||||
// if(res?.data?.resultCode != '0') {
|
||||
// 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 = {
|
||||
...reqData
|
||||
}
|
||||
return postAuxEnd('/office/update-profile', postData, false)
|
||||
return postAuxEnd('/update-profile', postData, false)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET PRODUCTS TEMPLATE DATA
|
||||
|
||||
Reference in New Issue
Block a user