refactor: drop useless .then()
This commit is contained in:
parent
eafefee06a
commit
736b822bd9
1 changed files with 0 additions and 1 deletions
|
|
@ -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))
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue