diff --git a/src/gh_comments.rs b/src/gh_comments.rs index 89749861..7e42f05a 100644 --- a/src/gh_comments.rs +++ b/src/gh_comments.rs @@ -497,7 +497,7 @@ fn write_review_as_html( r##""##, ) } - GitHubReviewState::RequestChanges => { + GitHubReviewState::ChangesRequested => { // https://primer.github.io/octicons/file-diff-16 ( "badge-danger", diff --git a/src/github.rs b/src/github.rs index f27c47dd..f7a662b5 100644 --- a/src/github.rs +++ b/src/github.rs @@ -3338,7 +3338,7 @@ pub enum GitHubGraphQlReactionContent { pub enum GitHubReviewState { Commented, Approved, - RequestChanges, + ChangesRequested, Dismissed, }