chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-02 16:44:42 +00:00
parent 4edd468ace
commit 2e4cb24c1d
17 changed files with 386 additions and 120 deletions

View file

@ -144,7 +144,16 @@ export function createActionRoutes(): Hono<{ Bindings: Env }> {
if (!userId) return c.json({ error: "Invalid or expired token" }, 401);
const body = await readJson(c);
const reactions = ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"] as const;
const reactions = [
"+1",
"-1",
"laugh",
"confused",
"heart",
"hooray",
"rocket",
"eyes",
] as const;
if (
!body ||
!isNonEmptyString(body.owner) ||
@ -164,14 +173,7 @@ export function createActionRoutes(): Hono<{ Bindings: Env }> {
repo: body.repo,
issue_number: body.issueNumber,
content: body.reaction as
| "+1"
| "-1"
| "laugh"
| "confused"
| "heart"
| "hooray"
| "rocket"
| "eyes",
"+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" | "rocket" | "eyes",
});
} catch (err) {
log.error({ err }, "Failed to create reaction");