added relative list
This commit was merged in pull request #552.
This commit is contained in:
@@ -1225,6 +1225,30 @@ class usersService {
|
||||
return this.postAuxEnd("/groupmemberadd", postData);
|
||||
}
|
||||
|
||||
// API FUNCTION TO GET FAMILY RELATIVE
|
||||
getFamilyRelativeList() {
|
||||
var postData = {
|
||||
uid: localStorage.getItem("uid"),
|
||||
member_id: localStorage.getItem("member_id"),
|
||||
sessionid: localStorage.getItem("session_token"),
|
||||
offset: 1,
|
||||
limit: 20,
|
||||
action: apiConst.WRENCHBOARD_RELATIVE_LIST,
|
||||
};
|
||||
return this.postAuxEnd("/familyrellist", postData);
|
||||
}
|
||||
|
||||
// API FUNCTION TO ADD/INVITE FAMILY RELATIVE
|
||||
inviteFamilyRelative(reqData) {
|
||||
var postData = {
|
||||
uid: localStorage.getItem("uid"),
|
||||
member_id: localStorage.getItem("member_id"),
|
||||
sessionid: localStorage.getItem("session_token"),
|
||||
action: apiConst.WRENCHBOARD_RELATIVE_INVITE,
|
||||
...reqData
|
||||
};
|
||||
return this.postAuxEnd("/familyrelinvite", postData);
|
||||
}
|
||||
/*
|
||||
- 20:27:30.118 FLOG_MAX [757411]: REQ_STRING(username)
|
||||
- 20:27:30.118 FLOG_MAX [757411]: REQ_STRING(password)
|
||||
|
||||
Reference in New Issue
Block a user