added update profile endpoint

This commit was merged in pull request #104.
This commit is contained in:
victorAnumudu
2025-11-27 21:27:03 +01:00
parent f0382cea9e
commit 92ac7d74f4
7 changed files with 347 additions and 171 deletions
+16
View File
@@ -84,6 +84,22 @@ export const profileDetails = (reqData) => {
return postAuxEnd(`/panel/account/profile`, postData, false)
}
// FUNCTION TO UPDATE PROFILE
export const updateProfile = (reqData) => {
let postData = {
...reqData,
}
return postAuxEnd(`/panel/account/profile-update`, postData, false)
}
// FUNCTION TO UPDATE LINKS
export const updateLinks = (reqData) => {
let postData = {
...reqData,
}
return null //postAuxEnd(`/panel/account/links-update`, postData, false)
}
// FUNCTION TO GET PRODUCT BY ID
export const MyProductData = (reqData) => {
let postData = {