mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 07:52:47 +01:00
slack JSON indent
This commit is contained in:
parent
f509c59ac1
commit
8e92d4352f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue