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 344d8e7 commit 7a305a8Copy full SHA for 7a305a8
lib/document.js
@@ -5433,8 +5433,8 @@ Document.prototype._applyVersionIncrement = function _applyVersionIncrement() {
5433
this.$__.version = undefined;
5434
if (doIncrement) {
5435
const key = this.$__schema.options.versionKey;
5436
- const version = this.$__getValue(key) || 0;// increment version if was successful
5437
- this.$__setValue(key, version + 1);
+ const version = this.$__getValue(key) || 0;
+ this.$__setValue(key, version + 1); // increment version if was successful
5438
}
5439
};
5440
0 commit comments