feat(app): lint & beautify
This commit is contained in:
parent
2dc60d06e3
commit
5c787bbb55
1 changed files with 6 additions and 1 deletions
|
@ -238,7 +238,12 @@ export const handleMessage = async (
|
|||
} else {
|
||||
await db
|
||||
.delete(messagesSchema)
|
||||
.where(and(gt(messagesSchema.id, messageExists.id), eq(messagesSchema.chatId, parsedMessage.chatId)))
|
||||
.where(
|
||||
and(
|
||||
gt(messagesSchema.id, messageExists.id),
|
||||
eq(messagesSchema.chatId, parsedMessage.chatId),
|
||||
),
|
||||
)
|
||||
.execute();
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue