This commit is contained in:
2024-08-25 22:47:44 +02:00
parent b8c7f6c44c
commit e0134baadc
3 changed files with 20 additions and 8 deletions

View File

@@ -406,7 +406,7 @@ func (h *RequestHandler) AddReviewComment(pr *models.PullRequest, state models.R
return c.Payload, nil
}
func (h *RequestHandler) GetAssociatedPrjGitPR(pr *PullRequestAction) *models.PullRequest {
func (h *RequestHandler) GetAssociatedPrjGitPR(pr *PullRequestWebhookEvent) *models.PullRequest {
if h.HasError() {
return nil
}