Front facing camera (#289)

* Front facing camera

* Adding in configuration and update script
This commit is contained in:
Rafael Taranto 2019-07-05 17:17:59 +01:00 committed by Josh Harvey
parent 90de4fe24d
commit 00c4187081
10 changed files with 142 additions and 8 deletions

View file

@ -233,6 +233,7 @@ function updateCustomer (req, res, next) {
return compliance.validationPatch(req.deviceId, config, mergedCustomer)
.then(_.merge(patch))
.then(newPatch => customers.updatePhotoCard(id, newPatch))
.then(newPatch => customers.updateFrontCamera(id, newPatch))
.then(newPatch => customers.update(id, newPatch, null, txId))
})
.then(customer => respond(req, res, { customer }))