Skip to content

Commit 218950c

Browse files
fix: fetchMyContacts (#45)
1 parent bb02ae2 commit 218950c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/tools/getIExecApps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const getIExecApps = {
1414
web3mail: {
1515
ens: "web3mail.apps.iexec.eth",
1616
address: "0x0d8b899f2faa0fe9f0b17bcf4debd0cbc9e574ef",
17-
whitelistAddress: "0x1234567890abcdef1234567890abcdef12345678",
17+
whitelistAddress: "0x781482C39CcE25546583EaC4957Fb7Bf04C277D2",
1818
aliases: ["web3mail", "web3 mail", "web3-mail"],
1919
},
2020
web3telegram: {

src/tools/web3mail/fetchMyContacts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export const fetchMyContacts = {
1717
const privateKey = await readWalletPrivateKey();
1818
const web3Provider = getWeb3Provider(privateKey);
1919
const web3mail = new IExecWeb3mail(web3Provider);
20-
const contacts = await web3mail.fetchMyContacts();
20+
const contacts = await web3mail.fetchMyContacts({ isUserStrict: true }
21+
);
2122
return {
2223
message: "Contacts fetched successfully",
2324
contacts

0 commit comments

Comments
 (0)