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 {