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 9c1e548 commit f6d48deCopy full SHA for f6d48de
lib/document.js
@@ -4815,8 +4815,8 @@ Document.prototype._applyVersionIncrement = function _applyVersionIncrement() {
4815
this.$__.version = undefined;
4816
if (doIncrement) {
4817
const key = this.$__schema.options.versionKey;
4818
- const version = this.$__getValue(key) || 0;// increment version if was successful
4819
- this.$__setValue(key, version + 1);
+ const version = this.$__getValue(key) || 0;
+ this.$__setValue(key, version + 1); // increment version if was successful
4820
}
4821
};
4822
0 commit comments