Fixed bug - files/uploaded had wrong owner
Upgrade to React 16
This commit is contained in:
parent
dce5ba7464
commit
cfdcaf65d8
84 changed files with 2381 additions and 1546 deletions
|
@ -9,7 +9,8 @@ const {castToInteger} = require('../../lib/helpers');
|
|||
|
||||
const path = require('path');
|
||||
const files = require('../../models/files');
|
||||
const uploadedFilesDir = path.join(files.filesDir, 'uploaded');
|
||||
|
||||
const {uploadedFilesDir} = require('../../lib/file-helpers')
|
||||
|
||||
const multer = require('multer')({
|
||||
dest: uploadedFilesDir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue