Fix this
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user