fix: Error attempting to import .docx files, closes #3455
This commit is contained in:
@@ -1288,7 +1288,7 @@ router.post("documents.import", auth(), async (ctx) => {
|
||||
});
|
||||
}
|
||||
|
||||
const content = await fs.readFile(file.path, "utf8");
|
||||
const content = await fs.readFile(file.path);
|
||||
const document = await sequelize.transaction(async (transaction) => {
|
||||
const { text, title } = await documentImporter({
|
||||
user,
|
||||
|
||||
Reference in New Issue
Block a user