From 6bc02916b14e2ca0381f46ae72420e6466f3bc99 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Tue, 14 Nov 2023 16:48:30 -0500 Subject: [PATCH] style: fix lint from merge issues --- lib/schema/subdocument.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/schema/subdocument.js b/lib/schema/subdocument.js index 1963f908a43..ce07826d4ff 100644 --- a/lib/schema/subdocument.js +++ b/lib/schema/subdocument.js @@ -386,7 +386,7 @@ SchemaSubdocument.prototype.toJSON = function toJSON() { * ignore */ -SubdocumentPath.prototype.clone = function() { +SchemaSubdocument.prototype.clone = function() { const schematype = new this.constructor( this.schema, this.path,