Fix query parameters
This commit is contained in:
parent
1bab28239a
commit
d2c25fab9b
1 changed files with 1 additions and 1 deletions
|
@ -4519,7 +4519,7 @@ function getExpiredMessages(db: ReadableDB): Array<MessageType> {
|
|||
const rows: Array<MessageTypeUnhydrated> = db
|
||||
.prepare<Query>(
|
||||
`
|
||||
SELECT ${sqlJoin(MESSAGE_COLUMNS_FRAGMENTS)}, expiresAt
|
||||
SELECT ${MESSAGE_COLUMNS.join(', ')}, expiresAt
|
||||
FROM messages
|
||||
WHERE
|
||||
expiresAt <= $now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue