This commit is contained in:
dbroqua 2018-09-19 22:15:00 +02:00
parent ca364f202e
commit 8dab5968c3

View File

@ -146,7 +146,7 @@ class Vegetables {
})
})
thumb.createLargeImage(req.file.path, (err, file) => {
thumb.createThumbnail(req.file.path, (err, file) => {
if (err) {
callback(err, null)
return false
@ -242,7 +242,7 @@ class Vegetables {
})
})
thumb.createLargeImage(req.file.path, (err, file) => {
thumb.createThumbnail(req.file.path, (err, file) => {
if (err) {
callback(err, null)
return false