Update getDoc signature to match reality

This commit is contained in:
James Allen 2017-01-16 17:09:44 +01:00
parent f66d631886
commit 9fd099c24f

View file

@ -70,7 +70,7 @@ module.exports = WebsocketController =
callback() callback()
, WebsocketController.FLUSH_IF_EMPTY_DELAY , WebsocketController.FLUSH_IF_EMPTY_DELAY
joinDoc: (client, doc_id, fromVersion = -1, callback = (error, doclines, version, ops) ->) -> joinDoc: (client, doc_id, fromVersion = -1, callback = (error, doclines, version, ops, ranges) ->) ->
metrics.inc "editor.join-doc" metrics.inc "editor.join-doc"
Utils.getClientAttributes client, ["project_id", "user_id"], (error, {project_id, user_id}) -> Utils.getClientAttributes client, ["project_id", "user_id"], (error, {project_id, user_id}) ->
return callback(error) if error? return callback(error) if error?