aboutsummaryrefslogtreecommitdiff
path: root/models/webhook_discord.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/webhook_discord.go')
-rw-r--r--models/webhook_discord.go2
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 {