From e8cad1ace30a8067feb9e6704eb426ffa2d91f13 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sun, 1 Feb 2026 22:13:35 -0700 Subject: [PATCH] Fix this --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 06d3a62..b53f217 100644 --- a/src/index.ts +++ b/src/index.ts @@ -128,11 +128,13 @@ app.ws('/ws', { ) if (!authResult.valid) return const userId = authResult.id + const time = Math.floor(Date.now() / 1000) const result = await db1 .update(berryDashChats) .set({ - content: btoa(message.data.newContent) + content: btoa(message.data.newContent), + editedAt: time }) .where( and(