Removed console.log
This commit is contained in:
parent
8b8f20a6d1
commit
823e6f0de3
4 changed files with 13 additions and 41 deletions
|
@ -165,10 +165,7 @@ class Pictures {
|
|||
|
||||
fs.unlink(large.output, () => { })
|
||||
|
||||
console.log('avant thumb')
|
||||
|
||||
resize.createThumbnail(req.file.path, (err, file) => {
|
||||
console.log('après createThumb')
|
||||
if (err) {
|
||||
callback(err, null)
|
||||
return false
|
||||
|
@ -178,7 +175,6 @@ class Pictures {
|
|||
path: file.output,
|
||||
filename: `picture_${req.params.vegetablesId}_${key}_thumb.${req.file.originalname.split('.')[req.file.originalname.split('.').length - 1]}`
|
||||
}, (err, res) => {
|
||||
console.log('après upload')
|
||||
if (err) { callback(err, null) }
|
||||
|
||||
this._createOne(req, callback)
|
||||
|
|
|
@ -85,7 +85,6 @@ class VegetableProperties {
|
|||
callback(null, null)
|
||||
})
|
||||
.catch(e => {
|
||||
console.log('this case?')
|
||||
callback(e, null)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue