mirror of
https://github.com/outline/outline.git
synced 2026-11-27 07:58:51 +03:00
fix: Error attempting to import .docx files, closes #3455
This commit is contained in:
1 parent
7436d4c5c1
commit
ceebc922cf
1 file changed
+1
-1
@@ -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