httpd: Allow removing of reactions from issues

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-08-14 16:41:04 +02:00
parent a2c84f36bf
commit 30ecfd81fa
+6 -2
View File
@@ -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!();