httpd: Implement EditCodeComment in route

This commit is contained in:
Alexis Sellier
2023-07-03 12:31:05 +02:00
parent b23d15d598
commit 5103d9cedd
+6 -2
View File
@@ -647,8 +647,12 @@ async fn patch_update_handler(
patch::Action::EditReview { review, summary } => {
patch.edit_review(review, summary, &signer)?;
}
patch::Action::EditCodeComment { .. } => {
todo!()
patch::Action::EditCodeComment {
review,
comment,
body,
} => {
patch.edit_code_comment(review, comment, body, &signer)?;
}
patch::Action::Tag { add, remove } => {
patch.tag(add, remove, &signer)?;