We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4d547 commit bf2e2f2Copy full SHA for bf2e2f2
modules/notification/webhook/webhook.go
@@ -288,7 +288,7 @@ func (m *webhookNotifier) NotifyNewPullRequest(pull *models.PullRequest) {
288
}
289
290
mode, _ := models.AccessLevel(pull.Issue.Poster, pull.Issue.Repo)
291
- if err := webhook.PrepareWebhooks(pull.Issue.Repo, models.HookEventPullRequest, &api.PullRequestPayload{
+ if err := webhook_module.PrepareWebhooks(pull.Issue.Repo, models.HookEventPullRequest, &api.PullRequestPayload{
292
Action: api.HookIssueOpened,
293
Index: pull.Issue.Index,
294
PullRequest: pull.APIFormat(),
0 commit comments