Skip to content

Commit bf2e2f2

Browse files
committed
fix bug
1 parent 3a4d547 commit bf2e2f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/notification/webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func (m *webhookNotifier) NotifyNewPullRequest(pull *models.PullRequest) {
288288
}
289289

290290
mode, _ := models.AccessLevel(pull.Issue.Poster, pull.Issue.Repo)
291-
if err := webhook.PrepareWebhooks(pull.Issue.Repo, models.HookEventPullRequest, &api.PullRequestPayload{
291+
if err := webhook_module.PrepareWebhooks(pull.Issue.Repo, models.HookEventPullRequest, &api.PullRequestPayload{
292292
Action: api.HookIssueOpened,
293293
Index: pull.Issue.Index,
294294
PullRequest: pull.APIFormat(),

0 commit comments

Comments
 (0)