Skip to content
Snippets Groups Projects
Commit 32d72aab authored by chris's avatar chris
Browse files

fix: add userId

parent f8da217d
No related branches found
No related tags found
1 merge request!109Track changes ids
......@@ -12,7 +12,7 @@ const markWrapping = (tr, pos, oldNode, newNode, user, date, group) => {
) {
blockTrack = {
type: "block_change",
user: user.id,
user: user.userId,
username: user.username,
date,
before: blockTrack.before
......@@ -22,7 +22,7 @@ const markWrapping = (tr, pos, oldNode, newNode, user, date, group) => {
} else {
blockTrack = {
type: "block_change",
user: user.id,
user: user.userId,
username: user.username,
date,
before: { type: oldNode.type.name, attrs: oldNode.attrs }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment