Skip to content

Commit

Permalink
Merge pull request #82 from PritishC/fix-customer-contact
Browse files Browse the repository at this point in the history
Fixed issue of email being written to phone field
  • Loading branch information
tarunbhardwaj committed Mar 18, 2015
2 parents 30d2ce1 + 2e7ddba commit a14cd4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion party.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ def create_using_magento_data(cls, magento_data):
],
'contact_mechanisms': [
('create', [{
'email': magento_data['email']
'type': 'email',
'value': magento_data['email'],
}])
]
}])
Expand Down

0 comments on commit a14cd4b

Please sign in to comment.