diff options
author | Unknwon <u@gogs.io> | 2017-02-24 12:23:19 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-24 12:23:19 -0500 |
commit | 6ec859f2b0c1bade67d04f740ec4b9ac9ae0ec98 (patch) | |
tree | ee99fa04ae35a085115aa076eb67e192955d8351 /models/webhook_discord.go | |
parent | 452551fa23893961ac83dd20b0babef917f42453 (diff) |
webhook: send secret with SHA256 HMAC hex digest (#3692)
Diffstat (limited to 'models/webhook_discord.go')
-rw-r--r-- | models/webhook_discord.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/models/webhook_discord.go b/models/webhook_discord.go index 8830e85b..27b01bc3 100644 --- a/models/webhook_discord.go +++ b/models/webhook_discord.go @@ -48,8 +48,6 @@ type DiscordPayload struct { Embeds []*DiscordEmbedObject `json:"embeds"` } -func (p *DiscordPayload) SetSecret(_ string) {} - func (p *DiscordPayload) JSONPayload() ([]byte, error) { data, err := json.MarshalIndent(p, "", " ") if err != nil { |