File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
UsesCases/Attachments/add Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
// 7. Download result file after appending Attachment
8
8
// All values of variables starting with "YOUR_****" should be replaced by real user values
9
9
10
- import credentials from "../../../../Credentials/ credentials.json" with { type : "json" } ; // json-file in this format: { "id": "*****", "key": "*******" }
11
- import fs from " node:fs/promises" ;
12
- import path from " node:path" ;
13
- import { PdfApi } from "../../../src/api/api.js " ;
14
- import { AttachmentInfo } from "../../.. /src/models/attachmentInfo.js" ;
10
+ import credentials from "./ credentials.json" with { type : "json" } ;
11
+ import fs from ' node:fs/promises' ;
12
+ import path from ' node:path' ;
13
+ import { PdfApi } from "asposepdfcloud " ;
14
+ import { AttachmentInfo } from "asposepdfcloud /src/models/attachmentInfo.js" ;
15
15
16
16
const configParams = {
17
17
LOCAL_FOLDER : "C:\\Samples\\" ,
@@ -70,4 +70,4 @@ async function main() {
70
70
}
71
71
}
72
72
73
- main ( ) ;
73
+ main ( ) ;
You can’t perform that action at this time.
0 commit comments