We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f0bfb commit 9642e6fCopy full SHA for 9642e6f
lib/ot.js
@@ -37,7 +37,7 @@ exports.checkOp = function(op) {
37
return new ShareDBError(ERROR_CODE.ERR_OT_OP_BADLY_FORMED, 'src must be a string');
38
}
39
if (op.seq != null && typeof op.seq !== 'number') {
40
- return new ShareDBError(ERROR_CODE.ERR_OT_OP_BADLY_FORMED, 'seq must be a string');
+ return new ShareDBError(ERROR_CODE.ERR_OT_OP_BADLY_FORMED, 'seq must be a number');
41
42
if (
43
(op.src == null && op.seq != null) ||
0 commit comments