core Document format

This commit is contained in:
tmshv committed 2019-08-01 01:39:20 +03:00
1 parent 28627bfa85
commit 5ad84cd61e
1 file changed
+2 -4
+2 -4
View File
@@ -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