Skip to content

Commit 49562aa

Browse files
omit zero value from payload
1 parent c98231f commit 49562aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scm/driver/github/repo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ func (s *RepositoryService) CreateHook(ctx context.Context, repo string, input *
113113
in.Config.Secret = input.Secret
114114
in.Config.ContentType = "json"
115115
in.Config.URL = input.Target
116-
in.Config.InsecureSSL = "0"
117116
if input.SkipVerify {
118117
in.Config.InsecureSSL = "1"
119118
}

0 commit comments

Comments
 (0)