summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/block_object.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nlopes/slack/block_object.go')
-rw-r--r--vendor/github.com/nlopes/slack/block_object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/nlopes/slack/block_object.go b/vendor/github.com/nlopes/slack/block_object.go
index 9e77e6c7..824ec93c 100644
--- a/vendor/github.com/nlopes/slack/block_object.go
+++ b/vendor/github.com/nlopes/slack/block_object.go
@@ -178,7 +178,7 @@ func NewConfirmationBlockObject(title, text, confirm, deny *TextBlockObject) *Co
type OptionBlockObject struct {
Text *TextBlockObject `json:"text"`
Value string `json:"value"`
- URL string `json:"url"`
+ URL string `json:"url,omitempty"`
}
// NewOptionBlockObject returns an instance of a new Option Block Element