From 6ec859f2b0c1bade67d04f740ec4b9ac9ae0ec98 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 24 Feb 2017 12:23:19 -0500 Subject: webhook: send secret with SHA256 HMAC hex digest (#3692) --- models/webhook_slack.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'models/webhook_slack.go') 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 { -- cgit v1.2.3