Skip to content

Commit 7a305a8

Browse files
vkarpov15Copilot
andauthored
Update lib/document.js
Co-authored-by: Copilot <[email protected]>
1 parent 344d8e7 commit 7a305a8

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
@@ -5433,8 +5433,8 @@ Document.prototype._applyVersionIncrement = function _applyVersionIncrement() {
54335433
this.$__.version = undefined;
54345434
if (doIncrement) {
54355435
const key = this.$__schema.options.versionKey;
5436-
const version = this.$__getValue(key) || 0;// increment version if was successful
5437-
this.$__setValue(key, version + 1);
5436+
const version = this.$__getValue(key) || 0;
5437+
this.$__setValue(key, version + 1); // increment version if was successful
54385438
}
54395439
};
54405440

0 commit comments

Comments
 (0)