Skip to content

Commit 5671e0d

Browse files
committed
Update create-broadcast action to make body HTML and body text optional
- Marked both `bodyHtml` and `bodyText` properties as optional in the create-broadcast action to enhance flexibility in message creation.
1 parent 68a4918 commit 5671e0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/aweber/actions/create-broadcast/create-broadcast.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ export default {
3232
type: "string",
3333
label: "Body HTML",
3434
description: "The content of the message in HTML format. If `Body Text` is not provided, it will be auto-generated. If `Body Text` is not provided, `Body HTML` must be provided.",
35+
optional: true,
3536
},
3637
bodyText: {
3738
type: "string",
3839
label: "Body Text",
3940
description: "The content of the message in plain text, used when HTML is not supported. If `Body HTML` is not provided, the broadcast will be sent using only the `Body Text`. If `Body Text` is not provided, `Body HTML` must be provided.",
41+
optional: true,
4042
},
4143
bodyAmp: {
4244
type: "string",

0 commit comments

Comments
 (0)