Skip to content

Commit 6c1a00a

Browse files
committed
fix: cta message footer should be a required param
Signed-off-by: sarthakjdev <jsarthak448@gmail.com>
1 parent 61ff686 commit 6c1a00a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/components/cta_message.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ func (message *CtaMessage) SetAction(params CtaMessageActionParams) {
8787

8888
// CtaMessageParams represents the parameters for creating a cta message.
8989
type CtaMessageParams struct {
90-
BodyText string `validate:"required"`
91-
Footer *string `validate:"required"`
90+
BodyText string `validate:"required"`
9291
}
9392

9493
// CtaMessageApiPayload represents the API payload for a cta message.

0 commit comments

Comments
 (0)