Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
cob: Add support for media embeds in COBs
cloudhead committed 2 years ago
commit 237e1e9adb3f8d80d21c65f00cfec13c7a8a1f22
parent 30ecfd81fa99e800660d6c46631711428a00a995
2 files changed +4 -2
modified radicle-httpd/src/api/v1/projects.rs
@@ -507,6 +507,7 @@ async fn issue_create_handler(
            issue.description,
            &issue.labels,
            &issue.assignees,
+
            [],
            &signer,
        )
        .map_err(Error::from)?;
@@ -546,9 +547,9 @@ async fn issue_update_handler(
        issue::Action::Edit { title } => {
            issue.edit(title, &signer)?;
        }
-
        issue::Action::Comment { body, reply_to } => {
+
        issue::Action::Comment { body, reply_to, .. } => {
            if let Some(to) = reply_to {
-
                issue.comment(body, to, &signer)?;
+
                issue.comment(body, to, [], &signer)?;
            } else {
                return Err(Error::BadRequest("`replyTo` missing".to_owned()));
            }
modified radicle-httpd/src/test.rs
@@ -185,6 +185,7 @@ fn seed_with_signer<G: Signer>(dir: &Path, profile: radicle::Profile, signer: &G
            "Change 'hello world' to 'hello everyone'".to_string(),
            &[],
            &[],
+
            [],
            signer,
        )
        .unwrap();