Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
httpd: Implement `EditCodeComment` in route
Alexis Sellier committed 2 years ago
commit 5103d9cedda4eae3b72fbfe987fee0e66642fc29
parent b23d15d59819dc3aef431fec80bbaaf7e86ef455
1 file changed +6 -2
modified radicle-httpd/src/api/v1/projects.rs
@@ -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)?;