Skip to content

Commit acb2f3d

Browse files
Gavin Williamsclaude
andcommitted
fix(web): fix type cast for GitHub reaction content
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f327c52 commit acb2f3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/web/src/app/api/(server)/webhook

packages/web/src/app/api/(server)/webhook/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const POST = async (request: NextRequest) => {
191191
owner,
192192
repo: repositoryName,
193193
comment_id: body.comment.id,
194-
content: env.REVIEW_AGENT_ACK_REACTION as Parameters<typeof octokit.rest.reactions.createForIssueComment>[0]['content'],
194+
content: env.REVIEW_AGENT_ACK_REACTION as "-1" | "+1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes",
195195
});
196196
} catch (error) {
197197
logger.warn(`Failed to add acknowledgment reaction to GitHub comment: ${error}`);

0 commit comments

Comments
 (0)