summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/block_action.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/block_action.go')
-rw-r--r--vendor/github.com/slack-go/slack/block_action.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/slack-go/slack/block_action.go b/vendor/github.com/slack-go/slack/block_action.go
index fe46a95c..c15e4a3f 100644
--- a/vendor/github.com/slack-go/slack/block_action.go
+++ b/vendor/github.com/slack-go/slack/block_action.go
@@ -6,7 +6,7 @@ package slack
type ActionBlock struct {
Type MessageBlockType `json:"type"`
BlockID string `json:"block_id,omitempty"`
- Elements BlockElements `json:"elements"`
+ Elements *BlockElements `json:"elements"`
}
// BlockType returns the type of the block
@@ -19,7 +19,7 @@ func NewActionBlock(blockID string, elements ...BlockElement) *ActionBlock {
return &ActionBlock{
Type: MBTAction,
BlockID: blockID,
- Elements: BlockElements{
+ Elements: &BlockElements{
ElementSet: elements,
},
}