Skip to content

Commit 32e18c8

Browse files
authored
fix(git-node): retrieve reviewed commit info (#912)
1 parent c5ce5f7 commit 32e18c8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/queries/Reviews.gql

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ query Reviews($prid: Int!, $owner: String!, $repo: String!, $after: String) {
1313
author {
1414
login
1515
}
16+
commit {
17+
oid
18+
}
1619
authorCanPushToRepository
1720
url
1821
publishedAt

lib/reviews.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export class Review {
2929
* @property {string} bodyText
3030
* @property {string} state
3131
* @property {{login: string}} author
32+
* @property {{oid:string}} commit
3233
* @property {string} url
3334
* @property {string} publishedAt
3435
*

0 commit comments

Comments
 (0)