TypeScript
fix(web): show author avatars in pull request previews (#12125)
Exotic962bf62921c0
diff --git a/apps/server/src/pullRequest/GitHubPullRequestProvider.ts b/apps/server/src/pullRequest/GitHubPullRequestProvider.tsindex de7f7fc952f..8a6190a43b4 100644--- a/apps/server/src/pullRequest/GitHubPullRequestProvider.ts+++ b/apps/server/src/pullRequest/GitHubPullRequestProvider.ts@@ -408,6 +408,7 @@ export const make = Effect.gen(function* () {Effect.mapError(fail("getChangeRequest")),Effect.map(([detail, repository, viewerAccess]): ProviderChangeRequestDetail => ({...detail.pullRequest,+ author: withAvatar(detail.pullRequest.author, new Map<string, string>(), input.host),checks: withWorkflowApprovals(detail.pullRequest.checks,detail.workflowApprovals.runs,