Skip to content

Commit 4156990

Browse files
committed
feat: add 'doer' to 'pullRequest' conversion for better PR review history
1 parent 580e215 commit 4156990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/webhook/notifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func (m *webhookNotifier) UpdateComment(ctx context.Context, doer *user_model.Us
378378
var pullRequest *api.PullRequest
379379
if c.Issue.IsPull {
380380
eventType = webhook_module.HookEventPullRequestComment
381-
pullRequest = convert.ToAPIPullRequest(ctx, c.Issue.PullRequest, nil)
381+
pullRequest = convert.ToAPIPullRequest(ctx, c.Issue.PullRequest, doer)
382382
} else {
383383
eventType = webhook_module.HookEventIssueComment
384384
}

0 commit comments

Comments
 (0)