diff options
Diffstat (limited to 'models/webhook_slack.go')
-rw-r--r-- | models/webhook_slack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook_slack.go b/models/webhook_slack.go index 9ae125873f..b9a39b64e0 100644 --- a/models/webhook_slack.go +++ b/models/webhook_slack.go @@ -42,7 +42,7 @@ type SlackAttachment struct { func (p *SlackPayload) SetSecret(_ string) {} func (p *SlackPayload) JSONPayload() ([]byte, error) { - data, err := json.Marshal(p) + data, err := json.MarshalIndent(p, "", " ") if err != nil { return []byte{}, err } |