Servcie debug
This commit is contained in:
@@ -205,6 +205,7 @@ export class WrenchService {
|
||||
}
|
||||
|
||||
processUsersContacts(usrData) {
|
||||
alert("FFFFf=>GOT HERE");
|
||||
return this.getPostData("cachecontacts", usrData);
|
||||
}
|
||||
getUserWallets(usrData) {
|
||||
|
||||
@@ -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);
|
||||
// });
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user