Skip to content

Commit 962bf62

Browse files
authored
fix(web): show author avatars in pull request previews (#12125)
1 parent 315b723 commit 962bf62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/server/src/pullRequest/GitHubPullRequestProvider.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ export const make = Effect.gen(function* () {
408408
Effect.mapError(fail("getChangeRequest")),
409409
Effect.map(([detail, repository, viewerAccess]): ProviderChangeRequestDetail => ({
410410
...detail.pullRequest,
411+
author: withAvatar(detail.pullRequest.author, new Map<string, string>(), input.host),
411412
checks: withWorkflowApprovals(
412413
detail.pullRequest.checks,
413414
detail.workflowApprovals.runs,

0 commit comments

Comments
 (0)