Profile update implementation

This commit was merged in pull request #14.
This commit is contained in:
victorAnumudu
2023-04-25 09:26:20 +01:00
parent abd5bb07b9
commit 66cdf50891
2 changed files with 189 additions and 135 deletions
+12
View File
@@ -216,6 +216,18 @@ class usersService {
return this.postAuxEnd("/refferhx", postData);
}
//END POINT CALL FOR UPDATE PROFILE
updateProfile(post){
var postData = {
uid: localStorage.getItem("uid"),
member_id: localStorage.getItem("member_id"),
sessionid: localStorage.getItem("session_token"),
action: 5031,
...post
};
return this.postAuxEnd("/updateprofile", postData);
}
//END POINT CALL FOR SENDING REFERRAL MESSAGE
sendReferralMsg(postData){
return this.postAuxEnd("/sendreferral", postData);