style: 代码格式优化

This commit is contained in:
digua
2026-04-06 21:04:05 +08:00
committed by digua
parent bfc96a723d
commit 3189de3a6e
34 changed files with 218 additions and 261 deletions

View File

@@ -345,9 +345,7 @@ function searchMessagesWithFts(
LIMIT ? OFFSET ?
`
const rows = db
.prepare(sql)
.all(matchQuery, ...timeParams, ...senderParams, limit, offset) as DbMessageRow[]
const rows = db.prepare(sql).all(matchQuery, ...timeParams, ...senderParams, limit, offset) as DbMessageRow[]
return {
messages: rows.map(sanitizeMessageRow),