mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-23 01:39:37 +08:00
style: 代码格式优化
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user