From 4aff7f5a19e59109455efd5812df2d62b30fec8b Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 6 May 2024 21:34:36 +0200 Subject: [PATCH] remove await from return statement Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cbcc051..72ba1fd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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,