Skip to content

Commit 2fd4ff7

Browse files
committed
add $ variable
1 parent 1fa2077 commit 2fd4ff7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/docusign/actions/download-documents/download-documents.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ export default {
8383
},
8484
});
8585
},
86-
async downloadToTmp(baseUri, documentsUri, filePath) {
86+
async downloadToTmp($, baseUri, documentsUri, filePath) {
8787
const content = await this.docusign._makeRequest({
88+
$,
8889
config: {
8990
url: `${baseUri}${documentsUri.slice(1)}/${this.downloadType}`,
9091
responseType: "arraybuffer",
@@ -101,7 +102,7 @@ export default {
101102
});
102103
const envelope = await this.getEnvelope($, baseUri, this.envelopeId);
103104
const filePath = `/tmp/${this.filename}`;
104-
await this.downloadToTmp(baseUri, envelope.documentsUri, filePath);
105+
await this.downloadToTmp($, baseUri, envelope.documentsUri, filePath);
105106

106107
$.export("$summary", `Successfully downloaded files to ${filePath}`);
107108

0 commit comments

Comments
 (0)