Skip to content

Commit

Permalink
Merge pull request #1224 from kamil-gwozdz/kamil-gwozdz-patch-1
Browse files Browse the repository at this point in the history
add `omitempty` to ConfirmationBlockObject.Deny
  • Loading branch information
parsley42 committed Aug 18, 2023
2 parents 80f6b07 + 8f8f4e9 commit 49c50d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block_object.go
Expand Up @@ -177,7 +177,7 @@ type ConfirmationBlockObject struct {
Title *TextBlockObject `json:"title"`
Text *TextBlockObject `json:"text"`
Confirm *TextBlockObject `json:"confirm"`
Deny *TextBlockObject `json:"deny"`
Deny *TextBlockObject `json:"deny,omitempty"`
Style Style `json:"style,omitempty"`
}

Expand Down

0 comments on commit 49c50d0

Please sign in to comment.