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
|
||||
processDocument = async data => {
|
||||
const processDocument = async data => {
|
||||
const imageId = data.preview
|
||||
const preview = await Image.findById(imageId)
|
||||
|
||||
@@ -54,5 +53,4 @@ const
|
||||
})
|
||||
}
|
||||
|
||||
module
|
||||
.exports = Document
|
||||
module.exports = Document
|
||||
Reference in new issue
Block a user