Skip to content

Commit 3366239

Browse files
jolheisertechknowlogick
authored andcommitted
Fix double webhook for new PR (#9375)
Signed-off-by: jolheiser <[email protected]>
1 parent 1bbb2a6 commit 3366239

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

routers/repo/pull.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,6 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm)
818818
return
819819
}
820820

821-
notification.NotifyNewPullRequest(pullRequest)
822-
823821
log.Trace("Pull request created: %d/%d", repo.ID, pullIssue.ID)
824822
ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(pullIssue.Index))
825823
}

0 commit comments

Comments
 (0)