Skip to content

Commit 9898bcb

Browse files
refactor: use SCONE_TAG const
1 parent b10956a commit 9898bcb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/sdk/src/lib/dataProtectorCore/processProtectedData.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ export const processProtectedData = async <
213213
iexec.orderbook
214214
.fetchAppOrderbook({
215215
app: vApp,
216-
minTag: ['tee', 'scone'],
217-
maxTag: ['tee', 'scone'],
216+
minTag: SCONE_TAG,
217+
maxTag: SCONE_TAG,
218218
workerpool: vWorkerpool,
219219
})
220220
.then((appOrderbook) => {
@@ -236,8 +236,7 @@ export const processProtectedData = async <
236236
dataset: vProtectedData,
237237
requester: requester, // public orders + user specific orders
238238
isRequesterStrict: useVoucher, // If voucher, we only want user specific orders
239-
minTag: ['tee', 'scone'],
240-
maxTag: ['tee', 'scone'],
239+
minTag: SCONE_TAG,
241240
category: 0,
242241
}),
243242
// for app whitelist
@@ -247,8 +246,7 @@ export const processProtectedData = async <
247246
dataset: vProtectedData,
248247
requester: requester, // public orders + user specific orders
249248
isRequesterStrict: useVoucher, // If voucher, we only want user specific orders
250-
minTag: ['tee', 'scone'],
251-
maxTag: ['tee', 'scone'],
249+
minTag: SCONE_TAG,
252250
category: 0,
253251
}),
254252
]).then(

0 commit comments

Comments
 (0)