Skip to content

Commit

Permalink
fix(update_user_self): add email and phone to verifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Méndez committed Nov 2, 2019
1 parent 35e3705 commit 3d43343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions update_user_self.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ function parseBody(body, user) {
last_name: body.last_name,
phone: body.phone,
user_verifications: {
email: user.user_verifications.email,
phone:
(body.phone)
? false
: user.user_verifications.phone,
selfie_image:
(body.user_identifications && body.user_identifications.selfie_image)
? false
Expand Down

0 comments on commit 3d43343

Please sign in to comment.