diff --git a/server/utils/DocumentConverter.ts b/server/utils/DocumentConverter.ts index 7daea3437..e2f4865f4 100644 --- a/server/utils/DocumentConverter.ts +++ b/server/utils/DocumentConverter.ts @@ -23,11 +23,6 @@ export class DocumentConverter { switch (mimeType) { case "application/msword": return this.confluenceToMarkdown(content); - case "application/octet-stream": - if (fileName.endsWith(".docx")) { - return this.docXToMarkdown(content); - } - throw FileImportError(`File type ${mimeType} not supported`); case "application/vnd.openxmlformats-officedocument.wordprocessingml.document": return this.docXToMarkdown(content); case "text/html":