Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit c1b3835

Browse files
author
Noah Lee
authored
Fix the bug of the InsecureSSL field (#371)
1 parent 797fe9f commit c1b3835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/interactor/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type (
6363
func (i *RepoInteractor) ActivateRepo(ctx context.Context, u *ent.User, r *ent.Repo) (*ent.Repo, error) {
6464
hid, err := i.scm.CreateWebhook(ctx, u, r, &extent.WebhookConfig{
6565
URL: i.WebhookURL,
66-
InsecureSSL: i.WebhookSSL,
66+
InsecureSSL: !i.WebhookSSL,
6767
Secret: i.WebhookSecret,
6868
})
6969
if err != nil {

0 commit comments

Comments
 (0)