Debug
This commit is contained in:
parent
ca364f202e
commit
8dab5968c3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue