github-api icon indicating copy to clipboard operation
github-api copied to clipboard

how to use issuePayload.getIssue().deleteReaction?

Open maxandersen opened this issue 1 year ago • 1 comments

how is issuePayload.getIssue().deleteReaction intended to be used when its not possible to create a GHReaction with bot nor user + reaction as parameter?

maxandersen avatar May 24 '24 11:05 maxandersen

Not pretty but I think that's the best you can do: https://github.com/quarkusio/conversational-release-action/blob/3c6befcf4836bf9833ac0b488cf8d79cccb8958b/src/main/java/io/quarkus/bot/release/ReleaseAction.java#L318-L327 .

There's no way to get a given reaction with the GitHub REST API.

gsmet avatar May 24 '24 13:05 gsmet