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 {
|
} else {
|
||||||
await db
|
await db
|
||||||
.delete(messagesSchema)
|
.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();
|
.execute();
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue