Skip to content

Commit

Permalink
feat(app): lint & beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCrazyKns committed Jan 11, 2025
1 parent 2dc60d0 commit 5c787bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/websocket/messageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5c787bb

Please sign in to comment.