refactor(mongoMeili.js): remove console.log statement for document not indexed

This commit is contained in:
Danny Avila 2023-07-28 12:09:14 -04:00 committed by Danny Avila
parent 7b8036a369
commit 9cacf76c10

View file

@ -103,7 +103,6 @@ const createMeiliMongooseModel = function ({ index, attributesToIndex }) {
// Case: Insert
// If document does not exist in Meili Index, Its an insert case
if (!indexMap.has(id)) {
console.log(`${id} is not indexed`);
await index.addDocuments([doc]);
updateOps.push({
updateOne: { filter: update, update: { $set: { _meiliIndex: true } } },