Compare commits

..

2 Commits

Author SHA1 Message Date
victorAnumudu 91bb18e4c9 endpoint bug fixed 2026-04-30 17:29:03 +01:00
ameye 094b8b15d5 Merge branch 'update-profile' of MERMS/MermsFirstOffice into master 2026-04-30 16:13:42 +00:00
2 changed files with 2 additions and 1 deletions
@@ -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')
// }
+1 -1
View File
@@ -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