fix: add primary email
This commit is contained in:
parent
7c075703a1
commit
cefd87b81a
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ def create_contact(user, ignore_links=False, ignore_mandatory=False):
|
|||
})
|
||||
|
||||
if user.email:
|
||||
contact.add_email(user.email)
|
||||
contact.add_email(user.email, is_primary=True)
|
||||
|
||||
if user.phone:
|
||||
contact.add_phone(user.phone)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue