From 8430e543c115250d78718d00563f54bbf27edad4 Mon Sep 17 00:00:00 2001 From: Koshkoshinsk Date: Tue, 14 Apr 2026 15:31:48 +0000 Subject: [PATCH] style: apply prettier formatting Co-Authored-By: Claude Opus 4.6 (1M context) --- src/db/sessions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/db/sessions.ts b/src/db/sessions.ts index 495046a7a..01e48cd5c 100644 --- a/src/db/sessions.ts +++ b/src/db/sessions.ts @@ -164,9 +164,9 @@ export function getAskQuestionRender( ): { title: string; options: import('../channels/ask-question.js').NormalizedOption[] } | undefined { const q = getPendingQuestion(id); if (q) return { title: q.title, options: q.options }; - const a = getDb() - .prepare('SELECT title, options_json FROM pending_approvals WHERE approval_id = ?') - .get(id) as { title: string; options_json: string } | undefined; + const a = getDb().prepare('SELECT title, options_json FROM pending_approvals WHERE approval_id = ?').get(id) as + | { title: string; options_json: string } + | undefined; if (!a || !a.title) return undefined; return { title: a.title, options: JSON.parse(a.options_json) }; }