From 69dff8aea1186703a985b9cf177a59ea85fb6779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Tue, 29 Oct 2024 16:36:06 +0100 Subject: [PATCH] fix test --- packages/mongo/mongo_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mongo/mongo_common.js b/packages/mongo/mongo_common.js index 9e1c95a768..c6d0953726 100644 --- a/packages/mongo/mongo_common.js +++ b/packages/mongo/mongo_common.js @@ -77,7 +77,7 @@ export const replaceMeteorAtomWithMongo = function (document) { if (document instanceof MongoDB.Binary) { return document; } - if (document instanceof Mongo.ObjectID) { + if (document instanceof MongoDB.ObjectId) { return new MongoDB.ObjectId(document.toHexString()); } if (document instanceof MongoDB.Timestamp) {