cob: Add missing verdict field to review.edit

This is generally useful, and required when constructing a review
without knowing the verdict ahead of time.
This commit is contained in:
cloudhead
2023-09-05 11:17:59 +02:00
parent 4947ac48a3
commit 53ccce34b1
+6 -2
View File
@@ -687,8 +687,12 @@ async fn patch_update_handler(
} => {
patch.edit_revision(revision, description, &signer)?;
}
patch::Action::ReviewEdit { review, summary } => {
patch.edit_review(review, summary, &signer)?;
patch::Action::ReviewEdit {
review,
summary,
verdict,
} => {
patch.edit_review(review, summary, verdict, &signer)?;
}
patch::Action::ReviewComment {
review,