From eb7b122a00a132af31a7278270eba53bf1c7fbf0 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 12 Sep 2024 16:51:34 -0400 Subject: [PATCH] Servcie debug --- src/app/services/wrench.service.ts | 1 + src/app/store/contacts-data.service.ts | 40 +++++++++++++------------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/app/services/wrench.service.ts b/src/app/services/wrench.service.ts index db93667..84c7467 100644 --- a/src/app/services/wrench.service.ts +++ b/src/app/services/wrench.service.ts @@ -205,6 +205,7 @@ export class WrenchService { } processUsersContacts(usrData) { + alert("FFFFf=>GOT HERE"); return this.getPostData("cachecontacts", usrData); } getUserWallets(usrData) { diff --git a/src/app/store/contacts-data.service.ts b/src/app/store/contacts-data.service.ts index 341ae97..3a0cc56 100644 --- a/src/app/store/contacts-data.service.ts +++ b/src/app/store/contacts-data.service.ts @@ -32,30 +32,30 @@ export class ContactsDataService { image: true, emails: true }}).then( result=>{ - alert("0001"); + // alert("0001"); console.log(result); this.cacheContactsForAccount(result); }); - const retrieveListOfContacts = async () => { - const projection = { - // Specify which fields should be retrieved. - name: true, - phones: true, - image: true, - emails: true, - postalAddresses: true, - }; - - const result = await Contacts.getContacts({ - projection, - }).then(result=>{ - alert("0002"); - console.log(result); - result.contacts - this.cacheContactsForAccount(result); - }); - } + // const retrieveListOfContacts = async () => { + // const projection = { + // // Specify which fields should be retrieved. + // name: true, + // phones: true, + // image: true, + // emails: true, + // postalAddresses: true, + // }; + // + // const result = await Contacts.getContacts({ + // projection, + // }).then(result=>{ + // alert("0002"); + // console.log(result); + // result.contacts + // this.cacheContactsForAccount(result); + // }); + // } }