diff --git a/lib/customers.js b/lib/customers.js index 62ef15a3..bceada84 100644 --- a/lib/customers.js +++ b/lib/customers.js @@ -755,7 +755,6 @@ function updateIdCardData (patch, id) { .then(patch => { const imagesData = _.get('photos', patch) return updatePhotos(imagesData, id, directory) - .then(newPatch => newPatch) .catch(err => logger.error('while saving the image: ', err)) }) }