Add editedAt to edit broadcast
This commit is contained in:
@@ -151,7 +151,8 @@ app.ws('/ws', {
|
|||||||
for: message.type + ':' + message.kind,
|
for: message.type + ':' + message.kind,
|
||||||
data: {
|
data: {
|
||||||
id: message.data.id as number,
|
id: message.data.id as number,
|
||||||
newContent: message.data.newContent as string
|
newContent: message.data.newContent as string,
|
||||||
|
editedAt: time
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user