summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/block_image.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/block_image.go')
-rw-r--r--vendor/github.com/slack-go/slack/block_image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/slack-go/slack/block_image.go b/vendor/github.com/slack-go/slack/block_image.go
index 6de3f63a..90cbd14e 100644
--- a/vendor/github.com/slack-go/slack/block_image.go
+++ b/vendor/github.com/slack-go/slack/block_image.go
@@ -8,7 +8,7 @@ type ImageBlock struct {
ImageURL string `json:"image_url"`
AltText string `json:"alt_text"`
BlockID string `json:"block_id,omitempty"`
- Title *TextBlockObject `json:"title"`
+ Title *TextBlockObject `json:"title,omitempty"`
}
// BlockType returns the type of the block