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

Fix the bug of the InsecureSSL field #371

Merged
merged 1 commit into from
Mar 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/interactor/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type (
func (i *RepoInteractor) ActivateRepo(ctx context.Context, u *ent.User, r *ent.Repo) (*ent.Repo, error) {
hid, err := i.scm.CreateWebhook(ctx, u, r, &extent.WebhookConfig{
URL: i.WebhookURL,
InsecureSSL: i.WebhookSSL,
InsecureSSL: !i.WebhookSSL,
Secret: i.WebhookSecret,
})
if err != nil {
Expand Down