diff --git a/lib/queries/Reviews.gql b/lib/queries/Reviews.gql index 4761fdcb..aec43992 100644 --- a/lib/queries/Reviews.gql +++ b/lib/queries/Reviews.gql @@ -13,6 +13,9 @@ query Reviews($prid: Int!, $owner: String!, $repo: String!, $after: String) { author { login } + commit { + oid + } authorCanPushToRepository url publishedAt diff --git a/lib/reviews.js b/lib/reviews.js index ac51a60b..51443adf 100644 --- a/lib/reviews.js +++ b/lib/reviews.js @@ -29,6 +29,7 @@ export class Review { * @property {string} bodyText * @property {string} state * @property {{login: string}} author + * @property {{oid:string}} commit * @property {string} url * @property {string} publishedAt *