Skip to content

Commit

Permalink
Update AttachmentAction.php
Browse files Browse the repository at this point in the history
Removes requirement for action confirmation.
  • Loading branch information
adamdburton authored and captn3m0 committed May 16, 2018
1 parent 3ef5d80 commit 5dd89c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AttachmentAction.php
Expand Up @@ -232,7 +232,7 @@ public function toArray()
'style' => $this->getStyle(),
'type' => $this->getType(),
'value' => $this->getValue(),
'confirm' => $this->getConfirm()->toArray(),
'confirm' => $this->getConfirm() ? $this->getConfirm()->toArray() : [],
];
}
}

0 comments on commit 5dd89c1

Please sign in to comment.