aboutsummaryrefslogtreecommitdiff
path: root/models/webhook_slack.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook_slack.go')
-rw-r--r--models/webhook_slack.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/webhook_slack.go b/models/webhook_slack.go
index 213421a5..5943a9e5 100644
--- a/models/webhook_slack.go
+++ b/models/webhook_slack.go
@@ -39,8 +39,6 @@ type SlackPayload struct {
Attachments []*SlackAttachment `json:"attachments"`
}
-func (p *SlackPayload) SetSecret(_ string) {}
-
func (p *SlackPayload) JSONPayload() ([]byte, error) {
data, err := json.MarshalIndent(p, "", " ")
if err != nil {