mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-26 15:52:09 +00:00
Fix incorrect var
This commit is contained in:
parent
90d05dc6dd
commit
a299d7335d
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ module.exports = WebsocketController =
|
|||
for comment in ranges?.comments or []
|
||||
comment.op.c = encodeForWebsockets(comment.op.c)
|
||||
for change in ranges?.changes or []
|
||||
change.op.i = encodeForWebsockets(comment.op.i) if change.op.i
|
||||
change.op.d = encodeForWebsockets(comment.op.d) if change.op.d
|
||||
change.op.i = encodeForWebsockets(change.op.i) if change.op.i
|
||||
change.op.d = encodeForWebsockets(change.op.d) if change.op.d
|
||||
catch err
|
||||
logger.err {err, project_id, doc_id, fromVersion, ranges, client_id: client.id}, "error encoding range uri component"
|
||||
return callback(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue