diff --git a/lib/instance.js b/lib/instance.js index 0a865b9..7689415 100644 --- a/lib/instance.js +++ b/lib/instance.js @@ -957,9 +957,6 @@ Instance.prototype.touch = Promise.method(function(expiry, options) { * @return {Object} */ Instance.prototype.toJSON = function() { - //if (!this.Model._dataHasJsonStructure()) { - //throw new InstanceError("Can NOT convert document value of primitive type to JSON"); - //} const data = this._cloneData(); if (this.Model._dataHasObjectStructure()) {