Servcie debug

This commit is contained in:
CHIEFSOFT\ameye
2024-09-12 16:51:34 -04:00
parent d3f195b38b
commit eb7b122a00
2 changed files with 21 additions and 20 deletions
+1
View File
@@ -205,6 +205,7 @@ export class WrenchService {
}
processUsersContacts(usrData) {
alert("FFFFf=>GOT HERE");
return this.getPostData("cachecontacts", usrData);
}
getUserWallets(usrData) {
+20 -20
View File
@@ -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);
// });
// }
}