Skip to content

Commit

Permalink
Fixed bug on address book
Browse files Browse the repository at this point in the history
  • Loading branch information
Jandro committed Nov 26, 2018
1 parent e93f491 commit 3615076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion O365/address_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def to_api_data(self):
'businessPhones': self.business_phones,
'mobilePhone': self.mobile_phone,
'homePhones': self.home_phones,
'emailAddresses': self.emails.to_api_data(),
'emailAddresses': [self._recipient_to_cloud(recipient) for recipient in self.emails],
'businessAddress': self.business_addresses,
'homesAddress': self.home_addresses,
'otherAddress': self.other_addresses,
Expand Down

0 comments on commit 3615076

Please sign in to comment.