Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
cob: Implement review code commenting
Alexis Sellier committed 2 years ago
commit b23d15d59819dc3aef431fec80bbaaf7e86ef455
parent 622b2735f3d31143375db8e4b67eca8bb95ee3bd
1 file changed +5 -6
modified radicle-httpd/src/api/v1/projects.rs
@@ -644,12 +644,11 @@ async fn patch_update_handler(
        } => {
            patch.edit_revision(revision, description, &signer)?;
        }
-
        patch::Action::EditReview {
-
            revision,
-
            author,
-
            summary,
-
        } => {
-
            patch.edit_review(revision, author, summary, &signer)?;
+
        patch::Action::EditReview { review, summary } => {
+
            patch.edit_review(review, summary, &signer)?;
+
        }
+
        patch::Action::EditCodeComment { .. } => {
+
            todo!()
        }
        patch::Action::Tag { add, remove } => {
            patch.tag(add, remove, &signer)?;