Skip to content

Commit 5b37ed5

Browse files
chore: stop using deprecated function call
1 parent 600573b commit 5b37ed5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/web3telegram/sendTelegram.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ export const sendTelegram = async ({
141141
] = await Promise.all([
142142
// Fetch dataset order for web3telegram app
143143
iexec.orderbook
144-
.fetchDatasetOrderbook(vDatasetAddress, {
144+
.fetchDatasetOrderbook({
145+
dataset: vDatasetAddress,
145146
app: dappAddressOrENS,
146147
requester: requesterAddress,
147148
})
@@ -154,7 +155,8 @@ export const sendTelegram = async ({
154155

155156
// Fetch dataset order for web3telegram whitelist
156157
iexec.orderbook
157-
.fetchDatasetOrderbook(vDatasetAddress, {
158+
.fetchDatasetOrderbook({
159+
dataset: vDatasetAddress,
158160
app: vDappWhitelistAddress,
159161
requester: requesterAddress,
160162
})
@@ -167,7 +169,8 @@ export const sendTelegram = async ({
167169

168170
// Fetch app order
169171
iexec.orderbook
170-
.fetchAppOrderbook(dappAddressOrENS, {
172+
.fetchAppOrderbook({
173+
app: dappAddressOrENS,
171174
minTag: ['tee', 'scone'],
172175
maxTag: ['tee', 'scone'],
173176
workerpool: workerpoolAddressOrEns,

0 commit comments

Comments
 (0)