remove await from return statement

Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
This commit is contained in:
2024-05-06 21:34:36 +02:00
committed by GitHub
parent 298dd40640
commit 4aff7f5a19

View File

@@ -148,7 +148,7 @@ process.stdin.on('data', async (data) => {
})
async function react(owner: string, repo: string, commentId: number, reaction: Reaction) {
return await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {
return octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {
owner,
repo,
comment_id: commentId,