mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-31 09:10:44 +08:00
httpd: Implement EditCodeComment in route
This commit is contained in:
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user