core Document format
This commit is contained in:
1 parent
28627bfa85
commit
5ad84cd61e
1 file changed
+2
-4
@@ -43,8 +43,7 @@ class DocumentFile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const
|
const processDocument = async data => {
|
||||||
processDocument = async data => {
|
|
||||||
const imageId = data.preview
|
const imageId = data.preview
|
||||||
const preview = await Image.findById(imageId)
|
const preview = await Image.findById(imageId)
|
||||||
|
|
||||||
@@ -54,5 +53,4 @@ const
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
module
|
module.exports = Document
|
||||||
.exports = Document
|
|
||||||
Reference in new issue
Block a user