{BUGFIX} Waiting for image upload
This commit is contained in:
parent
bd6d35e754
commit
90adfe0b23
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Uploads extends Pages {
|
|||
const mediumFileName = `medium_${uploadname}`;
|
||||
const smallFileName = `small_${uploadname}`;
|
||||
|
||||
Promise.all([
|
||||
await Promise.all([
|
||||
copyFileSync(req.file.path, join(userUploadDir, originalFileName)),
|
||||
resizeImage(
|
||||
req.file.path,
|
||||
|
|
Loading…
Reference in a new issue