Skip to content

Commit c2e41fc

Browse files
Update appendAttachment.js
1 parent 310b6bd commit c2e41fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

UsesCases/Attachments/add/appendAttachment.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
// 7. Download result file after appending Attachment
88
// All values of variables starting with "YOUR_****" should be replaced by real user values
99

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";
1515

1616
const configParams = {
1717
LOCAL_FOLDER: "C:\\Samples\\",
@@ -70,4 +70,4 @@ async function main() {
7070
}
7171
}
7272

73-
main();
73+
main();

0 commit comments

Comments
 (0)