Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
httpd: Allow removing of reactions from issues
Sebastian Martinez committed 2 years ago
commit 30ecfd81fa99e800660d6c46631711428a00a995
parent a2c84f36bf51dff868f16bbf056c4979cc81d0fc
1 file changed +6 -2
modified radicle-httpd/src/api/v1/projects.rs
@@ -553,8 +553,12 @@ async fn issue_update_handler(
                return Err(Error::BadRequest("`replyTo` missing".to_owned()));
            }
        }
-
        issue::Action::CommentReact { id, reaction, .. } => {
-
            issue.react(id, reaction, &signer)?;
+
        issue::Action::CommentReact {
+
            id,
+
            reaction,
+
            active,
+
        } => {
+
            issue.react(id, reaction, active, &signer)?;
        }
        issue::Action::CommentEdit { .. } => {
            todo!();