made profile page to be pre filled

This commit was merged in pull request #15.
This commit is contained in:
victorAnumudu
2023-04-25 10:34:28 +01:00
parent a18e87e0d6
commit 3c4ebc402e
2 changed files with 278 additions and 223 deletions
+10
View File
@@ -228,6 +228,16 @@ class usersService {
return this.postAuxEnd("/updateprofile", postData);
}
//END POINT CALL FOR GETTING USER PROFILE
loadProfile(post){
var postData = {
uid: localStorage.getItem("uid"),
member_id: localStorage.getItem("member_id"),
sessionid: localStorage.getItem("session_token"),
};
return this.postAuxEnd("/loadprofile", postData);
}
//END POINT CALL FOR SENDING REFERRAL MESSAGE
sendReferralMsg(postData){
return this.postAuxEnd("/sendreferral", postData);