event's API support update and image_url

This commit is contained in:
les
2020-05-14 22:36:58 +02:00
parent 34395c3d66
commit 22381d1fe6
7 changed files with 300 additions and 232 deletions

View File

@@ -45,7 +45,7 @@ const DiskStorage = {
.pipe(outStream)
.on('error', err)
outStream.on('finish', function () {
outStream.on('finish', () => {
cb(null, {
destination: config.upload_path,
filename,