Skip to content

Commit

Permalink
fix: small change setWebhook
Browse files Browse the repository at this point in the history
  • Loading branch information
omri2001 committed Jun 14, 2024
1 parent 708d710 commit 921472a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git_provider/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (c *GitlabClientImpl) SetWebhook(ctx *context.Context, repo *string) (*Hook
log.Printf("edited webhook for %s: %s\n", c.cfg.GitProviderConfig.OrgName, gitlabHook.URL)
}
} else {
respHook, ok := isProjectWebhookEnabled(*ctx, c, *repo)
respHook, ok := isProjectWebhookEnabled(c, *repo)
if !ok {
addProjectHookOpts := gitlab.AddProjectHookOptions{
URL: gitlab.Ptr(c.cfg.GitProviderConfig.WebhookURL),
Expand Down

0 comments on commit 921472a

Please sign in to comment.