From 5ad84cd61e6f05767f23bc4eede8abfe6adbf2d1 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 1 Aug 2019 01:39:02 +0300 Subject: [PATCH] core Document format --- src/core/Document.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/Document.js b/src/core/Document.js index e4ef394c..4e992065 100644 --- a/src/core/Document.js +++ b/src/core/Document.js @@ -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