mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-28 07:50:47 +08:00
httpd: Allow removing of reactions from issues
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -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!();
|
||||
|
||||
Reference in New Issue
Block a user