Skip to content

Commit f7d1271

Browse files
author
RMacfarlane
committed
Ensure bodyHTML is set on newly created review events
1 parent 607b6eb commit f7d1271

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/github/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ export function convertRESTReviewEvent(review: Octokit.PullsCreateReviewResponse
181181
comments: [],
182182
submittedAt: (review as any).submitted_at, // TODO fix typings upstream
183183
body: review.body,
184+
bodyHTML: review.body,
184185
htmlUrl: review.html_url,
185186
user: convertRESTUserToAccount(review.user, githubRepository),
186187
authorAssociation: review.user.type,

0 commit comments

Comments
 (0)