Merge branch 'profile_update' of WrenchBoard/Users-Wrench into master

This commit is contained in:
2023-04-25 08:34:26 +00:00
committed by Gogs
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);