From bb7d65f0eb6bebdc8465d66881a42011d4a3c2e5 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Wed, 20 Aug 2025 10:51:14 -0700 Subject: [PATCH] patch missing options resolves #4316 --- collector/processSingleFile/convert/asMbox.js | 2 +- collector/processSingleFile/convert/asOfficeMime.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/collector/processSingleFile/convert/asMbox.js b/collector/processSingleFile/convert/asMbox.js index e5a3a98d..a89b54ca 100644 --- a/collector/processSingleFile/convert/asMbox.js +++ b/collector/processSingleFile/convert/asMbox.js @@ -9,7 +9,7 @@ const { const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); -async function asMbox({ fullFilePath = "", filename = "" }) { +async function asMbox({ fullFilePath = "", filename = "", options = {} }) { console.log(`-- Working ${filename} --`); const mails = await mboxParser(fs.createReadStream(fullFilePath)) diff --git a/collector/processSingleFile/convert/asOfficeMime.js b/collector/processSingleFile/convert/asOfficeMime.js index ac8ae31e..41a2faa8 100644 --- a/collector/processSingleFile/convert/asOfficeMime.js +++ b/collector/processSingleFile/convert/asOfficeMime.js @@ -8,7 +8,11 @@ const { const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); -async function asOfficeMime({ fullFilePath = "", filename = "" }) { +async function asOfficeMime({ + fullFilePath = "", + filename = "", + options = {}, +}) { console.log(`-- Working ${filename} --`); let content = ""; try {