Skip to content

Commit

Permalink
add omitempty to ConfirmationBlockObject.Deny
Browse files Browse the repository at this point in the history
a
  • Loading branch information
kamil-gwozdz committed Aug 14, 2023
1 parent c4095cb commit 8f8f4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block_object.go
Original file line number Diff line number Diff line change
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 8f8f4e9

Please sign in to comment.