reducing the contact data

This commit is contained in:
CHIEFSOFT\ameye
2024-09-13 03:49:08 -04:00
parent bebf2b63e3
commit 1a03cf9bbc
+12 -4
View File
@@ -24,11 +24,10 @@ export class ContactsDataService {
else{
return;
}
debugger;
// debugger;
// phones: true,
Contacts.getContacts({projection: {
name: true,
phones: true,
emails: true
}}).then( result=>{
this.cacheContactsForAccount(result);
@@ -59,13 +58,22 @@ export class ContactsDataService {
//
// const myString1 = myString.substring(0,3000);
let arrC=[];
alert(myString.length);
// contactResult.contacts.macro( item=>{
// arrC.push({
// contactid: item.contactid,
// given_name: item.name.given
// }
// )
// })
this.usrData = {action:22010,
member_id: this.sessionDataProviderService.member_id,
uid: this.sessionDataProviderService.member_uid,
sessionid: this.sessionDataProviderService.session ,
raw_contacts: myString
raw_contacts: myString
}
//JSON.stringify(contactResult.contacts)