Skip to content

Commit c732e8f

Browse files
refactor(dapp): rename dataset to protected-data in sendEmail results
1 parent 38ec12b commit c732e8f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dapp/src/sendEmail.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,9 @@ async function start() {
214214
'total-processed': results.length,
215215
'success-count': successCount,
216216
'error-count': errorCount,
217-
'dataset-results': results.map((r) => ({
217+
'protected-data-results': results.map((r) => ({
218218
index: r.index,
219-
dataset:
220-
process.env[`IEXEC_DATASET_${r.index}_FILENAME`] ||
221-
`dataset-${r.index}`,
219+
protectedData: process.env[`IEXEC_DATASET_${r.index}_FILENAME`],
222220
response: r.response,
223221
})),
224222
};
@@ -229,7 +227,7 @@ async function start() {
229227
);
230228
}
231229

232-
const computedData = {
230+
const computedData = {
233231
'deterministic-output-path': `${workerEnv.IEXEC_OUT}/result.txt`,
234232
};
235233

0 commit comments

Comments
 (0)