Skip to content

Commit f6d48de

Browse files
vkarpov15Copilot
andcommitted
Update lib/document.js
Co-authored-by: Copilot <[email protected]>
1 parent 9c1e548 commit f6d48de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/document.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4815,8 +4815,8 @@ Document.prototype._applyVersionIncrement = function _applyVersionIncrement() {
48154815
this.$__.version = undefined;
48164816
if (doIncrement) {
48174817
const key = this.$__schema.options.versionKey;
4818-
const version = this.$__getValue(key) || 0;// increment version if was successful
4819-
this.$__setValue(key, version + 1);
4818+
const version = this.$__getValue(key) || 0;
4819+
this.$__setValue(key, version + 1); // increment version if was successful
48204820
}
48214821
};
48224822

0 commit comments

Comments
 (0)