This commit is contained in:
silverwind 2024-04-21 22:26:12 +02:00
parent 415a19d8ea
commit a849f1421d
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ func getMergeBase(repo *git.Repository, pr *issues_model.PullRequest, baseBranch
type ReviewRequestNotifier struct {
Comment *issues_model.Comment
IsAdd bool
Reviewer *user_model.User
Reviewer *user_model.User
ReviewTeam *org_model.Team
}
@ -124,8 +124,8 @@ func PullRequestCodeOwnersReview(ctx context.Context, issue *issues_model.Issue,
return nil, err
}
notifiers = append(notifiers, &ReviewRequestNotifier{
Comment: comment,
IsAdd: true,
Comment: comment,
IsAdd: true,
Reviewer: u,
})
}