Skip to content

Commit 02b1a61

Browse files
committed
Update file descriptions in send-signature-request to reflect correct file type and ensure useTextTags is appended as a string
1 parent 170e53f commit 02b1a61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/lumin_pdf/actions/send-signature-request/send-signature-request.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
file: {
2424
type: "string",
2525
label: "File",
26-
description: "A single path to a file in the `/tmp` directory (for example, `/tmp/myFile.html`) to be sent for signature. This field is mutually exclusive with `File URL`, `Files`, and `File URLs`. Only one of these fields should be provided in the request.",
26+
description: "A single path to a file in the `/tmp` directory (for example, `/tmp/myFile.pdf`) to be sent for signature. This field is mutually exclusive with `File URL`, `Files`, and `File URLs`. Only one of these fields should be provided in the request.",
2727
optional: true,
2828
},
2929
fileUrls: {
@@ -35,7 +35,7 @@ export default {
3535
files: {
3636
type: "string[]",
3737
label: "Files",
38-
description: "An array of path to files in the `/tmp` directory (for example, `/tmp/myFile.html`) to be sent for signature. This field is mutually exclusive with `File URL`, `Files`, and `File URLs`. Only one of these fields should be provided in the request.",
38+
description: "An array of path to files in the `/tmp` directory (for example, `/tmp/myFile.pdf`) to be sent for signature. This field is mutually exclusive with `File URL`, `Files`, and `File URLs`. Only one of these fields should be provided in the request.",
3939
optional: true,
4040
},
4141
signers: {
@@ -171,7 +171,7 @@ export default {
171171
}
172172
if (this.title) formData.append("title", this.title);
173173
if (this.expiresAt) formData.append("expires_at", Date.parse(this.expiresAt));
174-
if (this.useTextTags) formData.append("use_text_tags", this.useTextTags);
174+
if (this.useTextTags) formData.append("use_text_tags", `${this.useTextTags}`);
175175
if (this.signingType) formData.append("signing_type", this.signingType);
176176
const customEmail = {};
177177
if (this.senderEmail) customEmail.sender_email = this.senderEmail;

0 commit comments

Comments
 (0)