This commit is contained in:
2026-02-01 22:13:35 -07:00
parent e7ce9e7fed
commit e8cad1ace3

View File

@@ -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(