Skip to content

Commit c98231f

Browse files
use omitempty for insecure_ssl
1 parent a018b45 commit c98231f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scm/driver/github/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type hook struct {
4646
URL string `json:"url"`
4747
Secret string `json:"secret"`
4848
ContentType string `json:"content_type"`
49-
InsecureSSL string `json:"insecure_ssl"`
49+
InsecureSSL string `json:"insecure_ssl,omitempty"`
5050
} `json:"config"`
5151
}
5252

0 commit comments

Comments
 (0)