patch missing options

resolves #4316
This commit is contained in:
timothycarambat 2025-08-20 10:51:14 -07:00
parent 6358d087c2
commit bb7d65f0eb
2 changed files with 6 additions and 2 deletions

View File

@ -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))

View File

@ -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 {