diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs index 9b930e728..d9e235fca 100644 --- a/radicle-httpd/src/api/v1/projects.rs +++ b/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())); } diff --git a/radicle-httpd/src/test.rs b/radicle-httpd/src/test.rs index 641096e28..08e52112e 100644 --- a/radicle-httpd/src/test.rs +++ b/radicle-httpd/src/test.rs @@ -185,6 +185,7 @@ fn seed_with_signer(dir: &Path, profile: radicle::Profile, signer: &G "Change 'hello world' to 'hello everyone'".to_string(), &[], &[], + [], signer, ) .unwrap();